realitycollective / com.realitycollective.service-framework

The Service Framework package components for the Reality Collective. This package an extensible service framework to build highly performant components for your Unity projects.
https://service-framework.realitycollective.net
MIT License
9 stars 5 forks source link

Fix edge case where service interface type could not be determined and improve tests #31

Closed FejZa closed 2 years ago

FejZa commented 2 years ago

Reality Collective - Reality Toolkit Pull Request

Overview

Adds a bunch of tests to ensure service retrieval using a base type works as expected. Also fixes another edge case when looking up the interface type for a service to be registered.

Changes

What I said above.

Breaking Changes

None.

Related Submodule Changes

None

Testing status

Includes unit tests.

Manual testing status

Tested and verified in custom project with increased complexity and many custom services and providers.