Skip to content

Conversation

@ro0sterjam
Copy link
Contributor

@ro0sterjam ro0sterjam commented Nov 4, 2022

Currently we are unable to configure custom mapstruct spi implementations because the compilerArg options are not passed down to the spi classes.

This PR exposes these options to MapStructProcessingEnvironment. I've limited it to only options under the namespace of mapstruct.ap.spi. to limit the exposure of unrelated options.

Fixes #3071

@filiphr
Copy link
Member

filiphr commented Nov 12, 2022

@ro0sterjam have a look at my comments in #3071

@ro0sterjam
Copy link
Contributor Author

ro0sterjam commented Nov 16, 2022

@filiphr thank you for your guidance. Can you take a look at my changes and let me know what you think? If it looks good I'll proceed with updating the documentation.

@ro0sterjam
Copy link
Contributor Author

Added docs and test

@ro0sterjam
Copy link
Contributor Author

Bump on this.

@filiphr
Copy link
Member

filiphr commented Nov 26, 2022

Thanks for your work on this @ro0sterjam. There is no need to do a bump. We are working on this in our free time and we don't always have time to speedily review it. The PR will be part of the 1.6 release and we'll review it soon.

@ro0sterjam
Copy link
Contributor Author

Thanks @filiphr, completely understood and apologies for the bump.

Create a compile error when an AdditionalSupportedOptionsProvider uses the mapstruct prefix
Allow multiple AdditionalSupportedOptionsProvider
@filiphr
Copy link
Member

filiphr commented Apr 22, 2023

@ro0sterjam I did some small polishing. Can you please check it out and let me know if you agree with it? If yes then I will resolve the conflict and merge it manually (unless you want to resolve the conflict and force push to your branch)

@ro0sterjam
Copy link
Contributor Author

Looked over the changes and no objections from me! Good idea about supporting multiple AdditionalSupportedOptionsProvider.

@filiphr filiphr merged commit 931591a into mapstruct:main Apr 30, 2023
@filiphr
Copy link
Member

filiphr commented Apr 30, 2023

This has been integrated into main. Thanks @ro0sterjam

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.

Support configurable Spi Implementations

2 participants