-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Codegen] Add CompiledArgumentDefinition (#5797)
* Add CompiledArgumentDefinition * Re-introduce CompiledArgument.name and CompiledArgument.isKey as deprecated * Have field definitions and their arguments generated inside type classes * Add field parent types to usedFields * Generate top level fields in the type classes: val field__arg = CompiledArgumentDefinition(...) * Introduce UsedCoordinates to replace usage of Maps and track argument usage in operations * Regenerate .expected * Update CacheArgumentTest * fixup! Introduce UsedCoordinates to replace usage of Maps and track argument usage in operations * If a type is in alwaysGenerateTypesMatching, include all the args of all its fields * Add used types to expected files * Don't store GQL information directly in IrArgument/IrArgumentDefinition. Instead, store ids to resolve them and necessary info for the codegen. * Regenerate .expected * Remove superfluous KDoc * Indent the used-coordinates.json.expected files * Fix comment of CompiledArgument.value * Track argument usage inside merge * Regenerate .expected
- Loading branch information
Showing
585 changed files
with
6,530 additions
and
1,370 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.