Skip to content

method "setNotMappedTypes()" does not exist #247

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

Open
casciotti-c opened this issue Mar 27, 2025 · 1 comment
Open

method "setNotMappedTypes()" does not exist #247

casciotti-c opened this issue Mar 27, 2025 · 1 comment

Comments

@casciotti-c
Copy link

Hello,
it seems there are a couple of undefined methods inside TheCodingMachine\GraphQLite\Mappers\StaticTypeMapper class:

  • setTypes
  • setNotMappedTypes

Those methods are called in TheCodingMachine\GraphQLite\Bundle\DependencyInjection\GraphQLiteCompilerPass::process method at lines 276 and 280.

Installed packages versions:

thecodingmachine/graphqlite: 8.0.0
thecodingmachine/graphqlite-bundle: 7.1.0

@cvergne
Copy link
Contributor

cvergne commented May 28, 2025

Hello,

Thanks for the report.
How did you encountered the problem (to reproduce it) ?

Both methods have been removed from the StaticTypeMapper class in favor of constructor arguments in Graphqlite 7 (!), so we'll have to move the definition of the StaticTypeMapper from the XML Config directly into the CompilerPass I think.

Thanks.

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

No branches or pull requests

2 participants