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

Gen Schema should pull the list of attributes at runtime #284

Open
willwill96 opened this issue Mar 11, 2020 · 0 comments
Open

Gen Schema should pull the list of attributes at runtime #284

willwill96 opened this issue Mar 11, 2020 · 0 comments

Comments

@willwill96
Copy link
Contributor

The function that generates the MetacardAttributes graphql list is based on a static list of attributes https://github.com/connexta/revelio/blob/master/src/main/webapp/intrigue-api/metacards/gen-schema.js

This means that file needs to be updated any time a new attribute is added to ddf and also means that downstream projects with their own custom attributes need to maintain their own static list of their attributes.

We should base this off of the system instead, pulling them at runtime if possible.

@willwill96 willwill96 changed the title Gen Schema uses a static list of attributes Gen Schema should pull the list of attributes at runtime Mar 11, 2020
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

No branches or pull requests

1 participant