Closed rapidfsub closed 3 months ago
+ I have a question about spark. How can I configure section order for my own Spark.Dsl.Extension?
🚀 Thank you for your contribution! 🚀
All sections are configured by the end-user in the same place, in the entity configuration. i.e
configure :spark, :formatter,
"Ash.Resource": [
section_order: [....]
]
So you or any users of your extension would need to put the sections in that section_order
list.
We have something like
and the
"blah blah"
is passed as an extension to spark formatter. so before callingCode.ensure_compiled/1
,is_atom/1
or any other type validation should be performed, I think.