You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use this to see the expected result
3. curl http://localhost:3000/inheritence
Expected behavior
I would expect the Expose on get fullName to be inherited and the API to return{"firstname":"John","lastname":"Doe","fullName":"John Doe"} as per step 3) above.
Package version
2.0.5
Node.js version
18.17.1
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
The API returns:
{"firstname":"John","lastname":"Doe"}
Minimum reproduction code
https://github.com/erikash/picktype
Steps to reproduce
pnpm start:dev
curl http://localhost:3000/picktype
use this to see the expected result
3.
curl http://localhost:3000/inheritence
Expected behavior
I would expect the
Expose
onget fullName
to be inherited and the API to return{"firstname":"John","lastname":"Doe","fullName":"John Doe"}
as per step 3) above.Package version
2.0.5
Node.js version
18.17.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: