ash-project / ash_postgres

The PostgreSQL data layer for Ash Framework
https://hexdocs.pm/ash_postgres
MIT License
134 stars 73 forks source link

docs: Output valid example code in ValidateIdentityIndexNames #373

Closed haste closed 3 weeks ago

haste commented 3 weeks ago

identity.name is an atom and we don't want to include the : in the output in this case.

Before

postgres do
  identity_index_names :unique_id: "a_shorter_name"
end

After

postgres do
  identity_index_names unique_id: "a_shorter_name"
end

Contributor checklist

zachdaniel commented 3 weeks ago

🚀 Thank you for your contribution! 🚀