Skip to content
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

Pulls/master/ extendsive refactor #393

Merged
merged 31 commits into from
Jun 30, 2021

Conversation

unclecheese
Copy link

See #374

@unclecheese unclecheese force-pushed the pulls/master/_extendsive-refactor branch from 196a39e to a6a27c2 Compare June 17, 2021 01:33
@unclecheese unclecheese merged commit 6b57e91 into master Jun 30, 2021
@unclecheese unclecheese deleted the pulls/master/_extendsive-refactor branch June 30, 2021 07:05
unclecheese pushed a commit that referenced this pull request Jun 30, 2021
* First cut

* Apply to queries, fix inheritance bugs

* Tests passing

* Initial fixes for decoupled

* Numerous updates to union/interface generation to support Gatsby

* Getting there

* Back to schema generation in gatsby

* Broke up Inheritance into separate services

* Unit tests for new inheritance

* Tests passing

* Rename to SchemaConfigProvider

* Linting

* Add inheritance check for field mapping

* Use correct event name, no dot syntax

* Use unions on single results, e.g. has_one

* NEW: Refactor to use interface queries (non-breaking)

* Get tests passing

* Allow type eager loading for types that don't appear in queries

* Simplify exists() check so it doesn't create a new schema every time

* Ensure method exists

* MINOR: firstResult typed to SS_List for non-dataobject cases

* Remove API change to SchemaUpdater

* Linting

* Fix method return type

* Fix Enum overwriting local variable and breaking enumerated arrays

* Add base resolver, allow native field to resolve

* Change inheritance to apply on models, instead of updateSchema

* Fix tests

* Linting

* Ensure inheritance follows versioned, include bespoke types in query collector, add hiddenAncestor

* Cache query collection for performance

Co-authored-by: Aaron Carlino <[email protected]>
unclecheese pushed a commit that referenced this pull request Jun 30, 2021
* First cut

* Apply to queries, fix inheritance bugs

* Tests passing

* Initial fixes for decoupled

* Numerous updates to union/interface generation to support Gatsby

* Getting there

* Back to schema generation in gatsby

* Broke up Inheritance into separate services

* Unit tests for new inheritance

* Tests passing

* Rename to SchemaConfigProvider

* Linting

* Add inheritance check for field mapping

* Use correct event name, no dot syntax

* Use unions on single results, e.g. has_one

* NEW: Refactor to use interface queries (non-breaking)

* Get tests passing

* Allow type eager loading for types that don't appear in queries

* Simplify exists() check so it doesn't create a new schema every time

* Ensure method exists

* MINOR: firstResult typed to SS_List for non-dataobject cases

* Remove API change to SchemaUpdater

* Linting

* Fix method return type

* Fix Enum overwriting local variable and breaking enumerated arrays

* Add base resolver, allow native field to resolve

* Change inheritance to apply on models, instead of updateSchema

* Fix tests

* Linting

* Ensure inheritance follows versioned, include bespoke types in query collector, add hiddenAncestor

* Cache query collection for performance

Co-authored-by: Aaron Carlino <[email protected]>
@@ -36,6 +36,7 @@ public function getIdentifier(): string
*/
public function apply(ModelType $type, Schema $schema, array $config = []): void
{
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was that a mistake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants