-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for resolvers without fragments
Summary: Remove validation for `rootFragment` on the resolver definition. - With this we can expose plain functions as GraphQL fields - With this we can extend object with client fields that may return Client or Server Objects. Reviewed By: josephsavona Differential Revision: D37119681 fbshipit-source-id: 203fd3e99d68096532b9eb3e45f661766da2402a
- Loading branch information
1 parent
735c496
commit 7d5cc34
Showing
10 changed files
with
623 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
141 changes: 141 additions & 0 deletions
141
...__tests__/__generated__/ClientEdgeQuery_ClientOnlyQueriesTest3Query_hello_user.graphql.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.