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

Apollo zip from input schema file #76

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

andreachild
Copy link
Contributor

@andreachild andreachild commented Feb 21, 2025

Issue #, if available: #67

Description of changes:
Added ability to create Apollo zip using an input graphQL schema file instead of discovering the schema by querying neptune. For consistency with App Sync pipeline and CDK workflows, this workflow requires setting a new endpoint argument --create-update-apollo-server-neptune-endpoint in addition to the existing --input-schema-file argument.

Other changes:

  • fixed bugs resolving gremlin queries and added resolver tests for these scenarios
  • changed schema file in zip to have output. prefix for consistency with the resolver file
  • bumped the version from 1.1.1 to 1.2.0-beta.1

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@andreachild andreachild changed the title Apollo start from schema Apollo zip from input schema file Feb 21, 2025
@andreachild andreachild marked this pull request as ready for review February 21, 2025 04:15
@@ -146,6 +146,8 @@ Parameters

[--create-update-apollo-server -asvr]
[--create-update-apollo-server-subgraph -asub]
[--create-update-apollo-server-neptune-endpoint -ase ] default: --input-graphdb-schema-neptune-endpoint if exists
[ ... more apollo options to come in future roadmap ]
Copy link
Contributor

Choose a reason for hiding this comment

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

I know we accidentally missed a spot with the help text last time. Just double checking if we got them all this time.

I don't know what all of them are, so I'm just posing the question to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I got it all this time!

… instead of discovering the schema by querying neptune. For consistency with App Sync pipeline and CDK workflows, this workflow requires setting a new endpoint argument --create-update-apollo-server-neptune-endpoint in addition to the existing --input-schema-file argument.

Other changes:

-fixed bugs resolving gremlin queries and added resolver tests for these scenarios
-changed schema file in zip to have output. prefix for consistency with the resolver file
-bumped the version from 1.1.1 to 1.2.0-beta.1
@andreachild andreachild force-pushed the apolloStartFromSchema branch from 81caa09 to f4c1163 Compare February 21, 2025 18:26
@xiazcy xiazcy merged commit b4ac4ed into aws:main Feb 21, 2025
2 checks passed
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.

3 participants