You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interface support π. Types are resolved using $source['__typename'], $source->__typename, Parent@resolveTypeForField() (Query@resolveType for queries and mutations) or class base name.
Changed
BREAKING: Upgrade to webonyx/[email protected] for improved performance and specification compliance. The category and validation keys previously available next to message in errors has now been moved to the extensions part of errors as per the June 2018 GraphQL specification.
BREAKING: Support for various casing from source data. Previously Butler GraphQL assumed snake_case for source data attributes when resolving fields (to mimic the Eloquent standard). This has now been extended to support snake_case, camelCase and kebab-case by default. To change this behaviour you can override the propertyNames(ResolveInfo $info): array method in your GraphQL controller. The old propertyName(ResolveInfo $info): string method has been removed.