-
Notifications
You must be signed in to change notification settings - Fork 12
Expose GraphQL endpoint in CLI #134
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
Expose GraphQL endpoint in CLI #134
Conversation
🦋 Changeset detectedLatest commit: b5e77f5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Coverage Report for ./apps/cli
File Coverage
|
||||||||||||||||||||||||||||||||||||||
94e65d3 to
45efe41
Compare
2bf539a to
77e0506
Compare
45efe41 to
db74e30
Compare
77e0506 to
81fcfc0
Compare
|
Rebased |
81fcfc0 to
f6b328b
Compare
d6c7bbb to
16b6bf3
Compare
f6b328b to
d54ad41
Compare
d54ad41 to
78ff2de
Compare
e12bd4e to
aeebda0
Compare
78ff2de to
d327086
Compare
ea5cd4e to
5d87693
Compare
5d87693 to
8b6b4df
Compare
fabiooshiro
left a comment
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.
LGTM!
a82afdd to
a7e55c5
Compare
d22590b to
492adba
Compare
a7e55c5 to
7feeb21
Compare
492adba to
635e44e
Compare
44df851 to
1297ea6
Compare
|
This case be closed when we finalize PR #116, because it's handled there through |
39558cf to
d496299
Compare
b999336 to
24ad87e
Compare
|
I think this can be closed now. |
This pull request includes several changes to the
@cartesi/clipackage to expose a GraphQL endpoint and provide options to enable or disable it. The changes include updates to the CLI commands, Docker Compose configurations, and related services.Major changes:
Expose GraphQL endpoint:
.changeset/heavy-penguins-act.mdfile to document the exposure of the GraphQL endpoint.CLI command updates:
--disable-graphqlto theregisterRunCommandfunction inapps/cli/src/commands/run.tsto allow users to disable the local GraphQL service.registerRunCommandfunction to include thedocker-compose-graphql.yamlfile if the GraphQL service is not disabled.Docker Compose configuration:
docker-compose-graphql.yamlfile inapps/cli/src/nodeto define the services required for the GraphQL endpoint, including database creation, migration, and the GraphQL service itself.Minor changes:
docker-compose-validator.yamlfile to avoid conflicts and ensure proper setup. [1] [2]