Skip to content

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