Skip to content

Hotfixes related to Resource Hooks #533

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

Merged
merged 12 commits into from
Jun 25, 2019
Merged

Hotfixes related to Resource Hooks #533

merged 12 commits into from
Jun 25, 2019

Conversation

maurei
Copy link
Member

@maurei maurei commented Jun 21, 2019

This PR contains the following

  • IRelationshipsDictionary<T> did not implement IReadOnlyDictionary<RelationshipAttribute, HashSet<T>> interface (introduced in Improving testability and intuitivity of hooks  #529), and as a result the common dictionary-like methods weren't exposed on IRelationshipsDictionary<T>.
  • unit tests for the implementations of IRelationshipsDictionary<T>, IEntityHashSet<T> and IEntityDiffs<T>
  • these unit tests pointed me to a serious bug in how RelationshipsDictionary<T> was instantiated internally which caused unexpected relationship data wherever IRelationshipsDictionary<T> was used. This has been fixed
  • in the meanwhile, added loads of comments internally in the HookExecutor

@maurei maurei changed the title fix: IRelationshipDictionary implements IReadOnlyDictionary fix: IRelationshipsDictionary now implements IReadOnlyDictionary Jun 24, 2019
@maurei maurei changed the title fix: IRelationshipsDictionary now implements IReadOnlyDictionary Two bugs related to Resource Hooks Jun 25, 2019
@maurei maurei changed the title Two bugs related to Resource Hooks Hotfixes related to Resource Hooks Jun 25, 2019
@maurei maurei merged commit a82a241 into master Jun 25, 2019
@maurei maurei deleted the fix/hooks-hotfix branch June 25, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants