Skip to content

Conversation

hazzik
Copy link
Member

@hazzik hazzik commented May 7, 2018

  • Update AsyncGenerator to 0.8.2.4

Fixes #1672

Code regenerated to add missing OperationCanceledException where required.

Fixes nhibernate#1674
[Test]
public async Task UpdateConflictDetectedByNHAsync()
public async Task UpdateConflictDetectedByNHAsync(CancellationToken cancellationToken = default(CancellationToken))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maca88 that's strange

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I overlooked this change. I've released version 0.8.2.3 which doesn't generate it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @maca88, but these changes are still there with 0.8.2.3.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to regenerate the code twice before releasing and the change was never there. Then I remembered that this issue occurred randomly depending on the order of the methods being analyzed, which was discovered and fixed when #86 was done. I've ported the fix and released it in 0.8.2.4. Again, sorry for the confusion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No trouble, do not be sorry, it is already great you take the time to back-port things to old versions.

Of course, to be squashed
@fredericDelaporte fredericDelaporte changed the title Update AsyncGenerator to 0.8.2.2 Update AsyncGenerator to 0.8.2.4 May 8, 2018
@hazzik hazzik merged commit f934150 into nhibernate:5.1.x May 8, 2018
@hazzik hazzik changed the title Update AsyncGenerator to 0.8.2.4 Add missing OperationCanceledException in async code where required May 8, 2018
@hazzik hazzik added the r: Fixed label May 8, 2018
@hazzik hazzik deleted the AsyncGenerator0822 branch May 8, 2018 21:21
@fredericDelaporte
Copy link
Member

It is in fact the fix for #1672, both included in 5.1.2 milestone, so retagging for avoiding a dup in notes.

@hazzik
Copy link
Member Author

hazzik commented May 9, 2018

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants