-
-
Notifications
You must be signed in to change notification settings - Fork 202
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 async serdes.deserialize support & req/res as context #749
base: master
Are you sure you want to change the base?
[feat] - Add async serdes.deserialize support & req/res as context #749
Commits on Jul 17, 2022
-
[feat] - Async deserialization and req/res as
- Leverage ajv /asyc in serdes deserialization. - Leverage passContext for format.validate, deserialize, serialize - Add tests for async and context - Allow HttpErrors thrown from deserialize to influence errors thrown to express error handling pipeline. - Modify schema pre-processor to not share memory between ajv instance and apiDoc. - Modify schema pre-processor to not share memory between request and response apiDoc.
Configuration menu - View commit details
-
Copy full SHA for 2954777 - Browse repository at this point
Copy the full SHA 2954777View commit details -
Configuration menu - View commit details
-
Copy full SHA for 669f03b - Browse repository at this point
Copy the full SHA 669f03bView commit details -
Self code review. Cleaning up comments. Single module async-utils. Mo…
…re test coverage for async-utils.
Configuration menu - View commit details
-
Copy full SHA for dcf40fb - Browse repository at this point
Copy the full SHA dcf40fbView commit details -
Impl and test coverage for what is expected when async deserialize th…
…rows HttpErrors. Deviates when deserialization is occuring in query/body/params. Functionality is a no-op if package consumers throw an Ajv.ValidationError from their deserialize function instead of an HttpError.
Configuration menu - View commit details
-
Copy full SHA for 273069d - Browse repository at this point
Copy the full SHA 273069dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6ba222 - Browse repository at this point
Copy the full SHA f6ba222View commit details -
Configuration menu - View commit details
-
Copy full SHA for e50c9d6 - Browse repository at this point
Copy the full SHA e50c9d6View commit details -
Remove not-needed change to non-async serdes error handling which als…
…o didn't have tests.
Configuration menu - View commit details
-
Copy full SHA for d5a1bc2 - Browse repository at this point
Copy the full SHA d5a1bc2View commit details
Commits on Jul 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c84bbc7 - Browse repository at this point
Copy the full SHA c84bbc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50fea82 - Browse repository at this point
Copy the full SHA 50fea82View commit details
Commits on Jul 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for da67f24 - Browse repository at this point
Copy the full SHA da67f24View commit details -
Fixing bug with async and context support when XOF has an async sub-s…
…chema. Make sure the schema passsed to compile has if it needs it. Additionally add test coverage, and make sure the ajv instance used for preprocessing respects passContext config for validateRequests.
Configuration menu - View commit details
-
Copy full SHA for 9e9b302 - Browse repository at this point
Copy the full SHA 9e9b302View commit details -
Fix bug where instancePath of schemas in a request body where top lev…
…el schema has a dscriminator would lose the /body prefix of the instancePath, making error messages inconsistent. Additionally, respect the actual class type of an HttpError thrown from a deserialize/validate function.
Configuration menu - View commit details
-
Copy full SHA for c609e86 - Browse repository at this point
Copy the full SHA c609e86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5980a9 - Browse repository at this point
Copy the full SHA e5980a9View commit details
Commits on Jul 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 445f165 - Browse repository at this point
Copy the full SHA 445f165View commit details
Commits on Jul 28, 2022
-
Squash validation messages from oneOf sub-schemas that do not match t…
…he provided discriminator property value.
Configuration menu - View commit details
-
Copy full SHA for 6be17fa - Browse repository at this point
Copy the full SHA 6be17faView commit details
Commits on Aug 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 94bde72 - Browse repository at this point
Copy the full SHA 94bde72View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5058be - Browse repository at this point
Copy the full SHA b5058beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e1c573 - Browse repository at this point
Copy the full SHA 5e1c573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d25af8 - Browse repository at this point
Copy the full SHA 3d25af8View commit details
Commits on Aug 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8125da9 - Browse repository at this point
Copy the full SHA 8125da9View commit details
Commits on Aug 12, 2022
-
If schema has discriminator and a default, apply default values to th…
…e request if those properties are not set in data.
Configuration menu - View commit details
-
Copy full SHA for d99cd04 - Browse repository at this point
Copy the full SHA d99cd04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc3885 - Browse repository at this point
Copy the full SHA 9bc3885View commit details
Commits on Aug 18, 2022
-
Let HttpErrors thrown from serdes surface with error name as keyword …
…so it shows up in errorCode.
Configuration menu - View commit details
-
Copy full SHA for d03c2a6 - Browse repository at this point
Copy the full SHA d03c2a6View commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fb72ff1 - Browse repository at this point
Copy the full SHA fb72ff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 349a0b9 - Browse repository at this point
Copy the full SHA 349a0b9View commit details