Skip to content

feat: prompt to configure functions when serving locally #3213

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Feb 26, 2025

What kind of change does this PR introduce?

relates to #3201

What is the new behavior?

supabase functions serve now prompts to declare entrypoints in config.toml.

Additional context

Still exploring if this is the best approach.

@sweatybridge sweatybridge requested a review from a team as a code owner February 26, 2025 09:34
@@ -231,8 +231,8 @@ type (
function struct {
Enabled bool `toml:"enabled" json:"-"`
VerifyJWT bool `toml:"verify_jwt" json:"verifyJWT"`
ImportMap string `toml:"import_map" json:"importMapPath,omitempty"`
Entrypoint string `toml:"entrypoint" json:"entrypointPath,omitempty"`
ImportMap string `toml:"import_map,omitempty" json:"importMapPath,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question

What's the difference between the two syntaxes ?

Copy link
Member

@avallete avallete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in principle.

Edit: didn't saw it was a WIP

@avallete avallete self-requested a review March 3, 2025 15:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants