AshTypescript. Manifest. Verifiers. VerifyUniqueInputFieldNames
(ash_typescript v0.18.0)
Copy Markdown
View Source
Verifies that every action's input fields map to unique TypeScript client names.
Walks action.inputs (the unified arguments + accepted attributes list from
Ash.Info.Manifest) once, asks ActionIntrospection.format_input_name/4 for
the client-facing name of each input, and reports collisions.
Catches conflicts like an argument :userName colliding with an accepted
attribute :user_name once both are formatted via the configured output
field formatter.