graphql-code-generator-community icon indicating copy to clipboard operation
graphql-code-generator-community copied to clipboard

Add persisted operations to near-operation-file

Open Shane32 opened this issue 1 year ago • 1 comments

Description

Adds persisted operation support to near-operation-file. Since I've no idea what I'm doing, I had Cline (Anthropic AI), copy functionality from client-preset and this is what it came up with.

Related:

  • #496

Type of change

Please delete options that are not relevant.

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

How Has This Been Tested?

Hoping someone else knows how to finish/test this PR.

Checklist:

  • [x] I have followed the CONTRIBUTING doc and the style guidelines of this project
  • [x] 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

Further comments

Sorry, I don't know much about codegen plugins. Just hoping this PR will kick start some community progress. I will update this PR if/as I make any more progress.

At a minimum, this code could be used as a reference for issue #496

Shane32 avatar Nov 22 '24 21:11 Shane32

⚠️ No Changeset found

Latest commit: 85445d882c5e641d68932d566af7b852b966f6a6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Nov 22 '24 21:11 changeset-bot[bot]