-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
Milestone
Description
Describe the bug
When using http-server-js, the runtime values of query parameters is not what is described by the type.
In the case of a number, the default value is NaN where it should be undefined.
In the case of a boolean, the default value is false, where it should be undefined.
Reproduction
Here is a repo with the reproduction of each case https://github.com/benjlevesque/repro-typespec-issues/
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable