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

feat: add Headers/Queries as first class citizens in RequestOf type #36

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

jsteenb2
Copy link
Collaborator

@jsteenb2 jsteenb2 commented Nov 5, 2024

we now have the means to provide paremeterization via queries/headers within fusion via jsonschema. This is now possible and we can make it a first class citizen.

@@ -155,24 +155,20 @@ type reqMeta struct {
Context json.RawMessage `json:"context"`
AccessToken string `json:"access_token"`
Method string `json:"method"`
Params struct {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

goodbye mess

runner_http.go Outdated
Comment on lines 158 to 159
Header http.Header `json:"header"`
Query url.Values `json:"query"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are these singular here and multiple elsewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

matched the previous naming. I can fix that up though, good question 👍

@jsteenb2 jsteenb2 force-pushed the chore/replace_params branch from 47456c4 to a4b79e0 Compare November 6, 2024 22:51
@jsteenb2 jsteenb2 merged commit 3402c07 into main Nov 7, 2024
1 check passed
@jsteenb2 jsteenb2 deleted the chore/replace_params branch November 7, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants