Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support different controller families in strawberry configuration #355

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dmi-feo
Copy link
Collaborator

@dmi-feo dmi-feo commented Oct 9, 2024

Copy link
Collaborator

@l0kix2 l0kix2 left a comment

Choose a reason for hiding this comment

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

LGTM, though I want someone else who knows a bit about strawberry look at this.
@psushin does this change helps for you with livy?


func GetDefaultStrawberryControllerFamilies() []string {
return []string{"chyt", "jupyt"}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't understand, should the default family be chyt or list of of chyt, jupyt?
Maybe first one better be called just DefaultStrawberryFamily, not ControllerFamily according to static config values?

Copy link
Collaborator Author

@dmi-feo dmi-feo Oct 16, 2024

Choose a reason for hiding this comment

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

Poor naming :(
I renamed DefaultStrawberryControllerFamily to DefaultRouteStrawberryControllerFamily - that explains better what it is about (and it is about the family that will receive requests for domains that are not explicitly specified in http_controller_mappings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants