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

debug mode for parameter and parsing #65

Open
karenetheridge opened this issue Oct 4, 2023 · 2 comments
Open

debug mode for parameter and parsing #65

karenetheridge opened this issue Oct 4, 2023 · 2 comments

Comments

@karenetheridge
Copy link
Owner

it's not always obvious how a parameter will parse using style and explode. Add an option (environment variable maybe?) that will print the parsed version of the parameter to STDERR.

@karenetheridge karenetheridge changed the title debug mode for parameter parsing debug mode for parameter and parsing Dec 11, 2023
@karenetheridge
Copy link
Owner Author

also.. not obvious how an encoded body will parse, given media-type deserialization and also multipart parsing.

@karenetheridge
Copy link
Owner Author

provide a filehandle attribute on the OM object, defaulting to *STDERR, which is printed any time a non-obvious piece of data (or maybe all chunks of data?) is sent for validation. e.g.:

# validating header Foo-Bar as: {"a": 1, "b", 2}
# validating query parameter blah as: 1
# validating body content as: [...]

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

No branches or pull requests

1 participant