Ash Philosophy
"Declarative, Introspectable, Derivable"
1. "Introspectable" is related to
Ash.Resource.Info
module? The "Introspectable" characteristic is usually meaningful when developing library?
2. Does "Derivable" means "the execution of application code written with ash could be easily predicted."?
I am preparing an ash in-house seminar, so I need to understand about this.
Would you explain more detail?3 Replies
I’m sure that @Zach Daniel has some opinions on these but;
1. Yes and - take a look at
spark_dsl_config/0
on any Ash resource or DSL to get an idea of what’s possible.
2. It means that we describe enough about the behaviour of the app that different ways of working with it can be derived without much/any additional work eg; code interface vs ash_graphql vs ash_jsonapiGood answers 🙂
I understood answer of q1.
Ah.. I understood the answer of q2 too. Thanks guys.