-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update docs and change/tidy some related APIs #229
Merged
Merged
Conversation
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
…ents in the same order as `grafast()`: `hookArgs(args, resolvedPreset, ctx)`. Please update all your `hookArgs` calls.
…PgSubscriber. Have migrated PgIntrospectionPlugin to use PgSubscriber instead.
…onsistency with 'graphqlPath' and 'graphiqlPath'. V4 preset unaffected.
…ile-build-pg` (and thus PostGraphile amber) preset. Users of the V4 preset are unaffected.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hookArgs
has swapped the order of the second and third arguments, so that it matchesgrafast
. It's nowhookArgs(args, resolvedPreset, ctx)
. Please search your code forhookArgs
and update it.preset.server.eventStreamRoute
is nowpreset.server.eventStreamPath
to match thegraphqlPath
andgraphiqlPath
options. This does not affectmakeV4Preset({ eventStreamRoute: ... })
.PgRBACPlugin
is now included by default, you can disable it viadisablePlugins: ['PgRBACPlugin']
. Users ofmakeV4Preset()
are unaffected.pgConfig.pubsub
now defaults to true (we support LISTEN/NOTIFY by default unless you turn it off)listenWithPgClientFromPgConfig
is no more; please usepgConfig.pgSubscriber
insteadpgl.getServerParams()
is nowpgl.getSchemaResult()
makeV4Preset()
now supportseventStreamRoute
optiongrafastSync()
now supports the same options asgrafast()
pgConfig.listen
removed, it was redundant versuspgConfig.pgSubscriber
preset.schema.subscriptions
option which didn't do anythinggraphile config print
now omitsundefined
values