Why do the NestJS decorators like @BooleanFlag return Observables? #1370
benkenawell
started this conversation in
General
Replies: 1 comment
-
|
Fastify doesn't seem to unwrap Observables returned from controllers like Express will, so some of the examples on the site don't work the way they show. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The value doesn't update over time, does it? What's the value in wrapping it in an Observable? Why not return the promise directly from
client.getBooleanDetails?Beta Was this translation helpful? Give feedback.
All reactions