Skip to content
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

Feature: add the serialize_defaults to the attributes to load if set include = 'all' #145

Conversation

syphax-bouazzouni
Copy link

In the ontology details endpoint (for example), if in the ontology model the "views" attribute is set as serialize_defaults it will force it to be shown even if it's an inverse property usually not shown.

But even with the serialize_defaults set, it will not be shown in the case if add the ?include=all to the request.

Fort example see ontoportal-lirmm/ontologies_api#17

This feature fixes that.

This change feature is used if we want to force to show  attributes that are hidden like inverse properties
@syphax-bouazzouni syphax-bouazzouni changed the title Add the serialize_defaults to the attributes to load if set include = 'all' Feature: add the serialize_defaults to the attributes to load if set include = 'all' Sep 14, 2022
@syphax-bouazzouni
Copy link
Author

replaced with #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant