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

Add support for mapping all types under a specific namespace in an assembly #942

Merged
merged 4 commits into from
Feb 21, 2021

Conversation

kendallb
Copy link
Contributor

Make sure to only map classes for message types when doing assembly mapping, and added support for mapping all types under a namespace within an assembly.


Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

…apping, and added support for mapping all types under a namespace within an assembly.
…t MapAssemblyOf is probably not what folks want if the assembly containing the messages also contains a lot of other code, as this will end up creating mappings for EVERY TYPE in the assembly (which will be a LOT).

Honestly probably should deprecate the other version and get people to move over to mapping based on namespaces....
@mookid8000 mookid8000 merged commit b729dfa into rebus-org:master Feb 21, 2021
@mookid8000
Copy link
Member

Excellent! Will be out in Rebus 6.5.0 some time today 🙂

@kendallb kendallb deleted the feature/map-namespace-of branch February 26, 2021 00:13
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.

2 participants