Skip to content

Conversation

@lekhmanrus
Copy link

Add --omitSuffixForSchema to control schema suffix in introspected outputs

  • add CLI option --omitSuffixForSchema (defaults to 'public')
  • plumb config through validations and utils
  • apply to introspection generators:
    • update paramNameFor() to accept omitSuffixForSchema
    • update schemaToTypeScript() to accept and pass omitSuffixForSchema *propagate to FK/column helpers for PG and Gel
  • wire option into introspect for Postgres and Gel flows
  • default behavior remains unchanged for schema 'public'
… in introspected outputs

* add CLI option --omitSuffixForSchema (defaults to 'public')
* plumb config through validations and utils
* apply to introspection generators:
  * update paramNameFor() to accept omitSuffixForSchema
  * update schemaToTypeScript() to accept and pass omitSuffixForSchema
  *propagate to FK/column helpers for PG and Gel
* wire option into introspect for Postgres and Gel flows
* default behavior remains unchanged for schema 'public'

Signed-off-by: Ruslan Lekhman <lekhman112@gmail.com>
@lekhmanrus lekhmanrus force-pushed the feat/omit-suffix-for-schema branch from a624345 to 3fd2643 Compare August 29, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant