feat: pass pgrst config to studio container#4920
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Cache: Disabled due to Reviews > Disable Cache setting Disabled knowledge base sources:
📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request adds three PostgREST environment variables—PGRST_DB_SCHEMAS, PGRST_DB_EXTRA_SEARCH_PATH, and PGRST_DB_MAX_ROWS—to two container environment blocks in internal/start/start.go (the Studio container and an earlier Studio startup code path). No control-flow, error-handling, or other functional changes were made. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c42f41f to
30592a5
Compare
What kind of change does this PR introduce?
Enhancement
What is the current behavior?
Studio does not have access to PGRST configuration.
What is the new behavior?
Studio has access to PGRST configuration variables, to display the API integrations read-only settings in local dev.
Additional context
Needed for supabase/supabase#43268