I currently have an umbrella with 3 apps.
-
Data.Repo
- project-wide Repo -
Context.Data
- Repo facade with operations specific toContext
. Contains schemas. -
Context
- Contextually specific business logic. Provides an interface that will eventually be used by a GraphQL app, REST app, etc.
My question is how complex should I allow the facade to get? Should I keep it basic and just provide CRUD-ish type operations? Do validations belong within the facade?
I’m curious to hear what others are doing.