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

Fix ref struct scan for sagas #7187

Merged
merged 3 commits into from
Oct 24, 2024
Merged

Conversation

andreasohlund
Copy link
Member

Fixes #7179

@andreasohlund andreasohlund marked this pull request as ready for review October 24, 2024 12:11
@andreasohlund andreasohlund merged commit 19a7861 into master Oct 24, 2024
3 checks passed
@andreasohlund andreasohlund deleted the fix-ref-struct-scan-for-sagas branch October 24, 2024 12:12
poornimanayar pushed a commit that referenced this pull request Oct 25, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
poornimanayar added a commit that referenced this pull request Oct 25, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Andreas Öhlund <andreas.ohlund@particular.net>
Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 28, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 28, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 28, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 28, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 29, 2024
…gas are present (#7195)

* Fix ref struct scan for sagas (#7187)

* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>

* Handle netframework

* Use fx agnostic way

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 29, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 29, 2024
* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
andreasohlund added a commit that referenced this pull request Oct 29, 2024
…gas are present (#7196)

* Fix ref struct scan for sagas (#7187)

* Prevent saga conventions from throwing on ref struct

* Better test

* Tweaks

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>

* Handle .net framework

* Workaround for missing strongly typed check

* Update src/NServiceBus.Core/Sagas/Sagas.cs

Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>

* Use string equals

* Avoid null check

---------

Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>
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.

Endpoints containing sagas fail to start when a scanned assembly contains a ref struct
3 participants