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

Improve GraphQL API models #27

Merged
merged 7 commits into from
Jul 9, 2024
Merged

Improve GraphQL API models #27

merged 7 commits into from
Jul 9, 2024

Conversation

serramatutu
Copy link
Collaborator

This commit improves the models that can be fetched via the GraphQL API.

Added models:

  • Saved Query
  • Entity

Improved models:

  • Dimension
  • Metric

It also improves our GraphQL generation logic so that models will automatically generate their queries based on the dataclass fields.

This commit adds more models so we can implement commands that have parity
with `mf list`. I decided to not add `dbt-semantic-interfaces` yet since
there is some work that needs to be done regarding dependencies and
making the GraphQL schema compatible to make that work.
This commit introduces a `GraphQLFragmentMixing` which automatically
creates fragments from dataclass definitions.
This commit adds more fields to all our models so that the results
returned from the APIs are more complete.
This commit makes it possible to query for all available entities given
a metric via the GraphQL clients.
This commit adds the possibility to list saved queries from the GraphQL
API.
Added new changelog entries
@serramatutu serramatutu merged commit ff875b2 into main Jul 9, 2024
5 of 6 checks passed
@serramatutu serramatutu deleted the serramatutu/models branch July 9, 2024 08:46
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