-
Notifications
You must be signed in to change notification settings - Fork 57
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
Import statements update (w/tests) #245
Merged
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7dabb6f
[codegen] add import directive
95cf909
[codegen] update codegen test
b7e3d8e
[codege] make importDirective struct private to package
5bc7ad5
[codegen] update tests
640e5c0
[codegen] render multiple import statements correctly
d2dad3f
[codegen] add import directive to fragments and operations, if a refe…
a90e823
[codegen] cleanup when adding additional imports in referenced fragments
4bb9b81
[codegen] pr review comment updates: user ordered set for import modu…
556cd98
[codegen] pr review comment updates: user ordered set for import modu…
4598e53
[codegen] pr review comment updates: user ordered set for import modu…
dfa41c7
[codegen] pr review comment updates: user ordered set for import modu…
615f8b2
[codegen] pr review comment updates: user ordered set for import modu…
031dbf2
[codegen] pr review comment updates: user ordered set for import modu…
854cb32
Update CodegenLib to use OrderedCollections 1.0.6
AnthonyMDev 311eab6
fix callsites in tests for operationFile TemplateTarget
AnthonyMDev 82eb3f5
Add template renderer test
AnthonyMDev 8c11b03
Add tests for compilation of module imports
AnthonyMDev a014104
Add Template tests
AnthonyMDev 6ac8137
Merge branch 'main' into import_statements_update
AnthonyMDev 09b0e99
improve documentation
AnthonyMDev 96b4bc5
Merge branch 'main' into import_statements_update
AnthonyMDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks as though the custom imports should be rendered regardless of the
moduleType
configuration - it might be worth having additional tests for the other module types to ensure that remains true.