Skip to content

FEATURE: Custom graphql adapter#188

Merged
Sebobo merged 47 commits intomainfrom
feature/custom-graphql-adapter
May 27, 2025
Merged

FEATURE: Custom graphql adapter#188
Sebobo merged 47 commits intomainfrom
feature/custom-graphql-adapter

Conversation

@Sebobo
Copy link
Member

@Sebobo Sebobo commented May 10, 2023

The goal is to replace the t3n/graphql-* packages.

This change will only support Neos 8.3 and 8.4 and lead to a new major version.

Resolves: #120

Adjusted Queries

  • asset
  • assets
  • assetCount
  • assetVariants
  • unusedAssets
  • unusedAssetCount
  • assetSources
  • assetCollections
  • assetCollection
  • assetUsageDetails
  • assetUsageCount
  • changedAssets
  • similarAssets
  • tags
  • tag
  • config

Adjusted Mutations

  • updateAsset
  • deleteAsset
  • replaceAsset
  • editAsset
  • tagAsset
  • untagAsset
  • setAssetTags
  • setAssetCollections
  • deleteTag
  • createTag
  • uploadFile
  • uploadFiles
  • importAsset
  • createAssetCollection
  • deleteAssetCollection
  • updateAssetCollection
  • setAssetCollectionParent
  • updateTag

Type methods

  • Asset->thumbnail

Other todos

  • Resolve problem with recursive definitions (AssetCollection->parent, AssetCollection->assets)

Fix later

  • Properly implement enums
  • Reimplement FlowErrorTransform

@Sebobo Sebobo added this to the v2.0 milestone May 10, 2023
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from ae85434 to 5752843 Compare January 14, 2025 15:01
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from 5752843 to 0c5f3dc Compare January 20, 2025 09:43
@Sebobo Sebobo added the Feature A new feature label Jan 23, 2025
@Sebobo Sebobo changed the title WIP FEATURE: Custom graphql adapter WIP !!! FEATURE: Custom graphql adapter Jan 23, 2025
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from f6779ea to c1ec73e Compare March 31, 2025 10:15
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch 3 times, most recently from 27cd1ce to 0d30ebe Compare May 20, 2025 12:54
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from 0d30ebe to 6499745 Compare May 21, 2025 14:53
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch 6 times, most recently from b83e3de to b2ccf90 Compare May 23, 2025 10:03
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from b2ccf90 to c104820 Compare May 23, 2025 10:19
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from a5ff9fd to fa03610 Compare May 27, 2025 13:55
@Sebobo Sebobo force-pushed the feature/custom-graphql-adapter branch from fa03610 to ffb0fee Compare May 27, 2025 14:12
Copy link
Contributor

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you sooo much for all the hard work and introducing types for all kind of things :)
The new media api is actually really fun and precise to skim though :D much better than neos api itself ^^

I left a bunch of things i found while reviewing - aside that the dev js version seems to be bundled no major things.

And i tested it a bit as well and it seems to behave well.

Sebobo and others added 10 commits May 27, 2025 19:12
Co-authored-by: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com>
Co-authored-by: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com>
Added test. This broke due to an update to recoil which made prevState immutable, which makes sense.
Co-authored-by: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com>
@Sebobo Sebobo merged commit b2766a3 into main May 27, 2025
5 checks passed
@Sebobo Sebobo deleted the feature/custom-graphql-adapter branch May 27, 2025 21:12
@Sebobo Sebobo mentioned this pull request May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get rid of t3n/graphql dependency

2 participants