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
We should create decorator shortcuts for object parameters from:
query
header
path
The shortcut should be able to infer the schema from the type metadata.
For example:
import{Note}from'../models'classMyController{
@get('/test')asynctest(@param.query.object('note')note: Note){// your code}: void}
Acceptance Criteria
create shortcuts
@param.query.object
NOTE: Objects are rarely if ever passed in via a path parameter or header as such those decorators are not to be added as part of this task. If someone decides to pass them via those areas, they can do so using the full @param decorator.
The text was updated successfully, but these errors were encountered:
Description / Steps to reproduce / Feature proposal
Inspired by issue #100.
We should create decorator shortcuts for object parameters from:
The shortcut should be able to infer the schema from the type metadata.
For example:
Acceptance Criteria
NOTE: Objects are rarely if ever passed in via a
path
parameter orheader
as such those decorators are not to be added as part of this task. If someone decides to pass them via those areas, they can do so using the full@param
decorator.The text was updated successfully, but these errors were encountered: