-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom models crates #8
Comments
In my own exercises in extending the redfish schemas, there are at least a few different requirements I've run into:
Besides Swordfish, we already have the WIP Sunfish extensions from the OFA that could also be (optionally) added, and I am also in the midst of extending Redfish for automotive systems. Here it would be useful to be able to define which extensions to enable, particularly where they have not yet been ratified/made normative by the redfish consortium, and to provide a straightforward mechanism where people who are developing their own schemas/extensions can plug this into the model crate. Cargo patching, I think, could be a solution for the first point, but I'm not sure about the others. Here I would probably lean towards feature flags. |
Just to follow up on this, there is a dependency on |
How do we support downstream consumers using their own generated models crates? This requires solving a number of interesting problems:
rules_redfish
module that exposes rules for consumers to generate models crates?seuss
, with custom models crates? Can consumers use cargo patching to override the dependencies from crates likeseuss
? This may require us to partition large components ofseuss
with feature flags, so that consumers are not required to provide models for Redfish components that they don't use.The text was updated successfully, but these errors were encountered: