-
Notifications
You must be signed in to change notification settings - Fork 574
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(deps): update dependency @envelop/generic-auth to v8 #3420
base: main
Are you sure you want to change the base?
Conversation
|
Apollo Federation Subgraph Compatibility Results
Learn more: |
✅ Benchmark Results
|
a958cb9
to
cf32b86
Compare
💻 Website PreviewThe latest changes are available as preview in: https://f7ffdfdd.graphql-yoga.pages.dev |
cf32b86
to
1715ecd
Compare
1715ecd
to
78aa6f6
Compare
This PR contains the following updates:
7.0.0
->8.0.0
Release Notes
n1ru4l/envelop (@envelop/generic-auth)
v8.0.0
Compare Source
Major Changes
#2281
70d4d7a
Thanks @UserType;! - Refactor Generic Auth plugin;
@auth
directive is renamed to@authenticated
. If you want to keep the oldname you can configure the plugin to use the old name.
directiveOrExtensionFieldName
is renamed toauthDirectiveName
.OBJECT
andINTERFACE
locations, so you can use the authdirective on types as well.
validateUser
function does not receivefieldAuthDirectiveNode
andfieldAuthExtension
anymore. Instead, it takes
fieldAuthArgs
which is an object that contains the arguments of theauth directive or extension. So you don't need to parse the arguments manually anymore.
validateUser
'sobjectType
parameter is now renamed toparentType
. And it takes theoriginal composite type instead of the
GraphQLObjectType
instance. Now it can beGraphQLInterfaceType
as well.validateUser
's current parameters are now;@requiresScopes
and@policy
for more granularcontrol over the auth logic.
Check README for more information.
Patch Changes
70d4d7a
Thanks @ardatan! - dependencies updates:
@graphql-tools/utils@^10.5.1
↗︎(from
^10.0.6
, independencies
)[
70d4d7a
]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.