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

Fix 2 subscriptions bugs #178

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

anmonteiro
Copy link
Contributor

  1. Instrospection on __typename
  2. No error was returned if requesting a subscription field that didn't
    exist

1. Instrospection on `__typename`
2. No error was returned if requesting a subscription field that didn't
exist
@andreas andreas merged commit 9c368b4 into andreas:master Oct 16, 2019
@andreas
Copy link
Owner

andreas commented Oct 16, 2019

Thanks! It would be nice if resolve_fields could handle subscription objects, too.

@anmonteiro anmonteiro deleted the anmonteiro/fix-subscriptions-bug branch October 16, 2019 19:33
@anmonteiro
Copy link
Contributor Author

Agreed -- I can try to unify these two functions but currently the types don't match so that will probably require some more work.

kit-ty-kate pushed a commit to ocaml/opam-repository that referenced this pull request Jul 19, 2022
…d graphql-async (0.14.0)

CHANGES:

- Support `__typename` on subscriptions (andreas/ocaml-graphql-server#178)
- Handle unknown fields for subscriptions (andreas/ocaml-graphql-server#178)
- Add ocamlformat (andreas/ocaml-graphql-server#177)
- Handle missing variables as null (andreas/ocaml-graphql-server#184)
- Show default value in introspection query (andreas/ocaml-graphql-server#194)
- Support block strings in the parser (andreas/ocaml-graphql-server#198)
- Handle skip/include directives on fragment spreads (andreas/ocaml-graphql-server#200)
- Improved handling of recursive arguments and objects (andreas/ocaml-graphql-server#199)
- Fix websocket conflict (andreas/ocaml-graphql-server#206)
- Update deprecated Fmt functions (andreas/ocaml-graphql-server#206)
- Use Yojson `t` types instead of deprecated `json` type (andreas/ocaml-graphql-server#208)
- Raise minimum `rresult` version (andreas/ocaml-graphql-server#209)
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.

2 participants