Expose GraphQL endpoint in CLI#134
Closed
endersonmaia wants to merge 5 commits intoprerelease/v2-alphafrom
Closed
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 |
Contributor
Coverage Report for ./apps/cli
File Coverage
|
||||||||||||||||||||||||||||||||||||||
tuler
reviewed
Dec 3, 2024
94e65d3 to
45efe41
Compare
2bf539a to
77e0506
Compare
45efe41 to
db74e30
Compare
77e0506 to
81fcfc0
Compare
Member
|
Rebased |
81fcfc0 to
f6b328b
Compare
d6c7bbb to
16b6bf3
Compare
f6b328b to
d54ad41
Compare
Base automatically changed from
feature/add-hl-graphql-to-sdk
to
prerelease/v2-alpha
January 22, 2025 20:47
d54ad41 to
78ff2de
Compare
e12bd4e to
aeebda0
Compare
78ff2de to
d327086
Compare
ea5cd4e to
5d87693
Compare
5d87693 to
8b6b4df
Compare
a82afdd to
a7e55c5
Compare
d22590b to
492adba
Compare
a7e55c5 to
7feeb21
Compare
492adba to
635e44e
Compare
44df851 to
1297ea6
Compare
Member
|
This case be closed when we finalize PR #116, because it's handled there through |
39558cf to
d496299
Compare
b999336 to
24ad87e
Compare
Member
|
I think this can be closed now. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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]