Skip to content

Conversation

tamasvajk
Copy link
Contributor

@tamasvajk tamasvajk commented Feb 16, 2021

This PR is the third in multiple steps to remove nullability warnings. It's based on #5144. This PR splits the Context class to CIL and C# specific bits, and as a result previous nullability warnings are gone now. Also, the interface ICachedEntityFactory was converted to a class CachedEntityFactory. This allowed me to introduce a C# specific derived CachedEntityFactory too, which uses the C# specific Context class.

Additionally, the CIL Context class which previously held a reference to the overall Context instance is now extending the base context instead.

Diff job

@github-actions github-actions bot added the C# label Feb 16, 2021
@tamasvajk tamasvajk marked this pull request as ready for review February 19, 2021 09:10
@tamasvajk tamasvajk requested a review from a team as a code owner February 19, 2021 09:10
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Looks really great! I only had one trivial remark.

@tamasvajk
Copy link
Contributor Author

tamasvajk commented Feb 24, 2021

@hvitved I rebased this PR, and fixed your finding.

@tamasvajk tamasvajk merged commit 9ae22cb into github:main Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants