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

Validate and process fragment input parameters on backend #7164

Closed
DeamonDev opened this issue Nov 18, 2024 · 0 comments · Fixed by #7167
Closed

Validate and process fragment input parameters on backend #7164

DeamonDev opened this issue Nov 18, 2024 · 0 comments · Fixed by #7167
Assignees
Labels

Comments

@DeamonDev
Copy link
Contributor

💥 Proposal

Currently the typing part of fragment input parameters are processed on frontend. The model definition is fetched and frontend sends information about classes obtained from this model definition information and provided user input. I propose to change this and let frontend only pass raw strings data which will be validated/processed based on model definition on the backend.

This solution will also simplify creation of the parser for arbitrary-depth manually passed user types like List[List[List[T]]].

@DeamonDev DeamonDev self-assigned this Nov 18, 2024
@DeamonDev DeamonDev linked a pull request Nov 19, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant