You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, Sleppa configuration crate is not generic.
It loads some value that are defined in structures inside the crate.
In order to be more generic, if a plugin needs a configuration file and/or data, this plugin is in charged to provide a way to load these information.
To implement that, a HashMap and new structure could be used to be more dynamic.
Assumptions
Three new structure are added : Context, Configuration and Value
Context is a HashMap<String, Value>
Configuration is a HashMap<String, Value>
Value represents all possible type in the Context : String, Commit, User, Tag and release action.
Each plugin implements its own configuration if needed
Acceptance criteria
Implements the three new structures
Provides methods to interact with these structure
Risks
No specific risk
Dependencies
No dependencies
References
figment: a very generic configuration constructor.
The text was updated successfully, but these errors were encountered:
Aim
For now, Sleppa configuration crate is not generic.
It loads some value that are defined in structures inside the crate.
In order to be more generic, if a plugin needs a configuration file and/or data, this plugin is in charged to provide a way to load these information.
To implement that, a HashMap and new structure could be used to be more dynamic.
Assumptions
Context
,Configuration
andValue
HashMap<String, Value>
HashMap<String, Value>
Acceptance criteria
Risks
Dependencies
References
The text was updated successfully, but these errors were encountered: