-
-
Notifications
You must be signed in to change notification settings - Fork 466
Open
Labels
discussionRequires input from multiple peopleRequires input from multiple people
Description
What problem does this feature proposal attempt to solve?
Community feedback has shown that the default resolver from webonyx/graphql-php may not be optimally suited for a Laravel application and there is potential for improvement.
- Model accessors are called twice
- snake_case vs. camelCase
- Type based on Laravel model ignores regular php properties #2687
Because the default resolver is called very often, we have to consider performance.
Which possible solutions should be considered?
Given Eloquent models are probably the most common returned data type, we could optimize for them.
Changing the default resolver is documented here, but could perhaps be simplified through the config.
chojnicki
Metadata
Metadata
Assignees
Labels
discussionRequires input from multiple peopleRequires input from multiple people