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
used the search to make sure that a similar issue hasn't already been submit
Expected Behavior
I'm not quite sure about the nature of this "bug". I found several tickets regarding "nullable" and co, but as this just popped up on our side since we upgraded to ts 4.x it seems it is a tleast not directly related.
The first question therefore would be:
Should something like this be possible:
interface IInterviewQuestion {
....
moduleOptions?: { [key: string]: string | number | boolean | null };
...
}
I'm refering to the "null" here, we just recently changed this from undefined to null.
But now we get this error:
There was a problem resolving type of 'IInterviewQuestion'.
There was a problem resolving type of 'IStartInterviewResultDTO'.
Generate routes error. Error: Couldn't resolve literal node: null
at new GenerateMetadataError (/home/simon/Dev/hokify/hokify-server/node_modules/tsoa/dist/metadataGeneration/exceptions.js:22:28)
Should this work? Or is null still unsupported?
see:
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
I'm not quite sure about the nature of this "bug". I found several tickets regarding "nullable" and co, but as this just popped up on our side since we upgraded to ts 4.x it seems it is a tleast not directly related.
The first question therefore would be:
Should something like this be possible:
interface IInterviewQuestion {
....
moduleOptions?: { [key: string]: string | number | boolean | null };
...
}
I'm refering to the "null" here, we just recently changed this from undefined to null.
But now we get this error:
There was a problem resolving type of 'IInterviewQuestion'.
There was a problem resolving type of 'IStartInterviewResultDTO'.
Generate routes error.
Error: Couldn't resolve literal node: null
at new GenerateMetadataError (/home/simon/Dev/hokify/hokify-server/node_modules/tsoa/dist/metadataGeneration/exceptions.js:22:28)
Should this work? Or is null still unsupported?
see:
Current Behavior
It's not working with typescript 4.0.2
Context (Environment)
Version of the library: 3.2.1
Version of NodeJS: v12.18.3
The text was updated successfully, but these errors were encountered: