Skip to content

[Fix] Fix StaticTypeMapper method calls by moving definition #251

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

Conversation

cvergne
Copy link
Contributor

@cvergne cvergne commented Jun 6, 2025

Fixes #247.

Hello,

Since the 7.0 of Graphqlite Library (and specifically "Immutability improvements" in thecodingmachine/graphqlite#584), the StaticTypeMapper class signature has changed from method calls to constructor arguments.

This case was not covered in tests of the bundle so I have first added a custom type in test fixtures and so fixed the definition from XML+method calls to definition directly in compilerpass.

@cvergne cvergne force-pushed the fix/247-statictypemapper-methods-to-constructor branch from 225f5d2 to 369d3c3 Compare June 6, 2025 13:06
@cvergne cvergne force-pushed the fix/247-statictypemapper-methods-to-constructor branch from 369d3c3 to edb430e Compare June 6, 2025 13:07
@cvergne
Copy link
Contributor Author

cvergne commented Jun 6, 2025

Well finally we'll need to standby this PR until a release of the graphqlite library to have this fix available.

Handling your feedbacks showed wrong fixtures so I fixed them but we need the main library fix to be ok.

@andrew-demb andrew-demb self-requested a review June 6, 2025 15:25
@andrew-demb
Copy link
Collaborator

Graphqlite now tagged.

I've retried CI - now it's green.

Thanks @cvergne

@andrew-demb andrew-demb merged commit 4a63abd into thecodingmachine:master Jun 6, 2025
3 of 6 checks passed
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.

method "setNotMappedTypes()" does not exist
2 participants