Skip to content

Separation of concerns ResourceGraph #569

Description

@maurei

Currently there are two reasons why IResourceGraph is injected anywhere in the application:

  • Retrieving ContextEntity instances
  • Resolving relationships
    • abstracting away has-many-through stuff
    • resolving inverse relationships.

These two deviating responsibilities can be put behind their own interface:

  • IContextEntityProvider
  • IRelationshipResolver

The latter could potentially be merged with the current IFieldExplorer service.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions