Skip to content

Add futureProofEnums config to client preset - #9683

Merged
saihaj merged 3 commits into
dotansimha:masterfrom
charpeni:add-future-proof-enums-config-to-client-preset
Oct 12, 2023
Merged

saihaj merged 3 commits into
dotansimha:masterfrom
charpeni:add-future-proof-enums-config-to-client-preset

Conversation

@charpeni

@charpeni charpeni commented Sep 25, 2023 •

Copy link
Copy Markdown
Contributor

Description

Hook TypeScript's futureProofEnums config option to the client preset, which could be really useful without having to redefine typescript plugin.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):

Screenshot 2023-09-25 at 2 26 54 PM

How Has This Been Tested?

Tested locally. Existing feature available on typescript, but it wasn't hooked up to client-preset.

Checklist:

  • I have followed the CONTRIBUTING doc and the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@changeset-bot

changeset-bot Bot commented Sep 25, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 224d49e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-codegen/client-preset Minor

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

@saihaj
saihaj merged commit 58d28a7 into dotansimha:master Oct 12, 2023
@charpeni
charpeni deleted the add-future-proof-enums-config-to-client-preset branch October 12, 2023 20:09
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