Post

It feels like I can escape the declaration style, but I am not 100% sure if that's true in the end. Not a fan of the APIs with `for_read`, `for_create` but I understand why it's needed. Also weird that some data is wrapped in Ash Structs (Like a string value from an changeset attribute)

I am unsure about potential compatibility issues with all the different ash packages in the future? Policy integration is nice. But hard to wrap my head around policies for reads. I prefer more control over the query

ash_typescript/rpc is THE reason to use Ash right now. I ran into an edge case (still need to write a bug report) but 0.x version is already more stable than most "stable" NodeJS libraries I've seen recently.

0 reposts0 likes

I would not suggest using a type system as the basis for code generation like this personally. A type system is made for verification, not for things like generating parsers, serializers etc. You can derive good types from a parser, but not the other way around.