I’m trying to determine how/if I can convert a Promise rejection into a typed Observable. I have a login component with a function like this… and an authentication service with a method like this… How can I return an Observable<Credentials> if the Promise resolves, and bubble up the error if it rejects? I know I can make everything work if
Tag: feathersjs
Feathers-mongoose $like query for MongoDb getting Error
I have the following Mongoose Schema – Note that, both of them are String. I was trying to do a query like the following – I have rows with Javascript in Category column. But getting the following error- Answer I know its been a while since this was discussed, but I’ve had a similar question and the code provided by