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

fix: use body as root for ingress verb form fix console issue #1943

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

wesbillman
Copy link
Collaborator

Fixes #1863

@wesbillman wesbillman requested a review from alecthomas as a code owner July 2, 2024 23:08
@wesbillman wesbillman requested review from a team and matt2e and removed request for a team July 2, 2024 23:08
@@ -100,7 +101,7 @@ func (c *ConsoleService) GetModules(ctx context.Context, req *connect.Request[pb
v := decl.ToProto().(*schemapb.Verb)
verbSchema := schema.VerbFromProto(v)
var jsonRequestSchema string
if verbSchema.Request == nil {
if verbSchema.Request != nil {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🤦

Copy link
Collaborator

Choose a reason for hiding this comment

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

😮

@ftl-robot ftl-robot mentioned this pull request Jul 2, 2024
@@ -100,7 +101,7 @@ func (c *ConsoleService) GetModules(ctx context.Context, req *connect.Request[pb
v := decl.ToProto().(*schemapb.Verb)
verbSchema := schema.VerbFromProto(v)
var jsonRequestSchema string
if verbSchema.Request == nil {
if verbSchema.Request != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

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

😮

@wesbillman wesbillman merged commit f86b537 into main Jul 3, 2024
46 checks passed
@wesbillman wesbillman deleted the default-request-body-in-console branch July 3, 2024 21:37
@matt2e matt2e added the approved Marks an already closed PR as approved label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Marks an already closed PR as approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console should not require "body" in the form for http requests
3 participants