Skip to content

chore(test): check that the response can contain unknown field #4805

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

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

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented May 2, 2025

🧭 What and Why

Add a test that assert that unknown fields doesn't make the deserialization fail, at the root of the object, or nested in a oneOf inside an array inside a object.

@millotp millotp self-assigned this May 2, 2025
@algolia-bot
Copy link
Collaborator

algolia-bot commented May 2, 2025

✔️ Code generated!

Name Link
🪓 Triggered by 40187b6e953c52197f5c6dee0f6c2bc6bc5ec664
🍃 Generated commit b589d110c981cb9481802a6c8f88806fd31334bd
🌲 Generated branch generated/chore/test-deser
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1619
go 1603
php 1538
csharp 1293
java 1107
python 1100
ruby 849
swift 737
scala 23

@millotp millotp marked this pull request as ready for review May 6, 2025 11:20
@millotp millotp requested a review from a team as a code owner May 6, 2025 11:20
@millotp millotp requested review from morganleroi and shortcuts May 6, 2025 11:20
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