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 error customization, coerce input/output fix, variable object coersion, improved Giraffe integration #418

Merged
merged 90 commits into from
Oct 12, 2023

Conversation

xperiandri
Copy link
Collaborator

  1. Implemented IGQLError and IGQLErrorExtensions to return errors according to the latest GraphQL specification
  2. Added InputParameterValue to distinguish between InlineConstant which comes from GraphQL operation and Variable which comes from variables
  3. Renamed CoerceValue to CoerceOutput
  4. Implemented the whole object construction that comes from variables using coercion of each scalar that it requires
  5. Made Giraffe handler more concise and traceable

@xperiandri
Copy link
Collaborator Author

2 tests are broken:
One because of the need to use Skippable instead of Option
The second is because of the change of the Observable order between home-brew implementation and FSharp.Control.Reactive

@xperiandri
Copy link
Collaborator Author

WebSockets middleware is broken
React samples not tested

@xperiandri
Copy link
Collaborator Author

Updated branch

okhorsunenko-lula and others added 18 commits August 9, 2023 17:09
Co-authored-by: Andrii Chebukin <andrii@lula.is>
…Exception` and parsing variables as `JsonElement`
… and launching, when set in the environment with "CONFIGURATION". Default is still Release.
… settings.Development.json files. Supposedly this was handled by CreateDefaultBuilder, but it wasn't working. Also respects the "--environment" command line flag for specifying "Developoment".
Copy link
Collaborator

@valbers valbers left a comment

Choose a reason for hiding this comment

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

LGTM

@xperiandri xperiandri merged commit 1045ef5 into dev Oct 12, 2023
3 checks passed
@xperiandri xperiandri deleted the IGQLError branch October 12, 2023 21:02
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.

5 participants