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

Graphql data simple data provider: handle if type can't be found #5999

Merged

Conversation

Kilometers42
Copy link
Contributor

Right now, if the naming of your filter parameter doesn't match the expected naming (resourceFilter) the data provider errors out because type is undefined. In our case, our filters are named resourceFilterInput which seems like a fairly common pattern see kotlin docs and graphql docs. I think ideally, it would take in a parameter to adjust the naming convention the same way it does for query naming but this seems like a good temporary solution to at least make the filters usable for "nonstandard" naming practices.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

None yet

2 participants