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

feat: make operation manifest format configurable #83

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

rruizt
Copy link

@rruizt rruizt commented Dec 28, 2023

Added operationManifestFormat as a compilerParam that accepts a String that will determine which format will be used to generate the manifest.

This change also fixes the manifest generation logic, as it didn't work before.

Added `operationManifestFormat` as a compilerParam that accepts a String that will determine
which format will be used to generate the manifest.

This change also fixes the manifest generation logic, as it didn't work before.
Copy link

sonarcloud bot commented Dec 28, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@rruizt
Copy link
Author

rruizt commented Dec 28, 2023

I made the change backwards compatible so you don't have to make another major release, but the configuration right now is not really optimal.

I think we could get rid of <generateOperationDescriptors>true</generateOperationDescriptors> in the next major release and depend only on the tag to generate the manifest or not as it's done in the apollo-kotlin client.

What do you think @aoudiamoncef?

@aoudiamoncef
Copy link
Owner

@rruizt I'll review this ASAP.

@aoudiamoncef aoudiamoncef self-assigned this Dec 29, 2023
@aoudiamoncef aoudiamoncef merged commit 2b93d68 into aoudiamoncef:main Dec 30, 2023
3 checks passed
@aoudiamoncef
Copy link
Owner

Thanks @rruizt for your contribution 🥇

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.

2 participants