Skip to main content

auth

No description

directive @auth(
feature: String
features: [String]
resolveFrom: String
) on FIELD_DEFINITION

Arguments

auth.feature ● String scalar

a feature that is required to query a field or perform a mutation

auth.features ● [String] list scalar

a list of features that are all required to query a field or perform a mutation

auth.resolveFrom ● String scalar

Optional dot-separated path to the argument used to resolve the residential park ID for this mutation. Use this when the mutation has multiple *Id arguments and the automatic resolution cannot determine which one to use. Examples: "employeeId", "input.targetParkId", "input.client.parkId". A single segment also matches a key inside the "input" argument as a convenience.