Skip to content
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

admin value resolver accept generat AdminInterface type #7847

Merged

Conversation

mpoiriert
Copy link
Contributor

@mpoiriert mpoiriert commented Jun 15, 2022

Subject

I am targeting this branch, because the bug is present in this branch.

Closes #7846.

Changelog

### Fixed
AdminValueResolver does support generic AdminInterface type.

@mpoiriert
Copy link
Contributor Author

@VincentLanglet The PR is ready for #7846

@jordisala1991
Copy link
Member

Do we have any docs for this feature?

@mpoiriert
Copy link
Contributor Author

mpoiriert commented Jun 15, 2022

Do we have any docs for this feature?

Yes there is in the Decouple from CRUDController but not specific to inject AdminInterface. I did add an example in the batch controller documentation.

I will add one to the documentation above.

@jordisala1991
Copy link
Member

That would be great

@mpoiriert mpoiriert force-pushed the issue-7846-admin-value-resolver branch from 83acf10 to 81aedad Compare June 15, 2022 21:31
@mpoiriert
Copy link
Contributor Author

Done

@jordisala1991 jordisala1991 merged commit cddc750 into sonata-project:4.x Jun 15, 2022
@jordisala1991
Copy link
Member

Thanks @mpoiriert

@mpoiriert mpoiriert deleted the issue-7846-admin-value-resolver branch June 15, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AdminValueResolver don't check type properly
3 participants