Is there a way that I could use a base class that has all the common attributes and methods for my models but not linked with a database table, and then I could extend this base class when defining new models.  Here I have created the base, person mo...
I am trying to extend find() method for a service named properties in my FeathersJS app.  What I need is appending in all records returned by find() an array with integers coming from another service named propertyadds. This means I need to change my...
I have a data set like follows-   [{      "allowedusers": ["[email protected]"],     "id": "1"    },{      "allowedusers": ["[email protected]","[email protected]"],     "id": "2"    },...
I'm in the process of learning FeathersJS and so far it seems like everything I wish Meteor was. Keep up the great work!  Right now I'm working through the Chat App tutorial but have run into some confusion. I don't quite understand what&...
I'm trying to create some REST API with user roles like admin, superadmin etc. I was trying to achieve this by using feathers-permissions module, but there are none working examples and the internet. Have you ever dealt with such task? What I do...
I'm using Typescript 2.3.4, Node.JS 8.0.0, and the Feathers framework (version 2.1.1). I am making an express route that uses a service, and when I try to use the service after grabbing the singleton instance on the feathers app, Typescript is th...
I want to get the info from a collection inside a feathers.js hook.  How can i make the hook wait, until the mongodb call is complete? At the moment it sends the hook without waiting for the call to finish, i tried it with returns and promieses, but...
I'm trying to work with MobX for a new project. I started it on May 2017, and everything was working well. I had to stop, and now I go on developing it. I had to make an npm install to manage making it working, but now, I have some problem with s...
I`am using feathersjs.  I have read the documentation.  How do I execute this method to check on the service hook feathers-hook, or tell me another method of check.  const { disallow } = require('feathers-hooks-common');  function include() {...
im trying to use the new populate hook, but it doesn't seem to work. I just don't know what i'm doing wrong.  I have the merchatTypeMap model related 1:1 to the merchants model, and when i query the merchantTypeMap, it should answer with...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.