angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

Rails inspired REST-API ORM for Angular

Results 86 angular-restmod issues
Sort by recently updated
recently updated
newest added

If a resource has a defined relation with another resource, then setting a mask attribute doesn't work. For example: ``` javascript angular.module('mapping') .factory('UserResource', function (restmod) { return restmod.model('/api/users').mix({ 'Profile':{ belongsTo:...

bug

I have 2 models defined: ``` Blog: restmod.model("/blog").mix({ posts: { hasMany: 'Post' } }); Post: restmod.model("/posts"); ``` I use a slug as primary key for both models and only the...

question

Using version v1.1.11 of restmod, we tried to use a singleton model. like so: ```javascript restmod.singleton(url, { // ... } ); ``` But this issues a warning `Passing mixins and...

Is this project still being maintained? Looks like there hasn't been a change since last October. I use this library fairly extensively at my workplace. If the current maintainers no...

Builder file is missing an _ `this[_name] = Utils.override(this[name], _fun);` This goes unnoticed in the browser because name resolves to a global variable which results in the call being `Utils.override(undefined,...

It would be EXTREMELY helpful to have some examples that showed how to use things like a todo example. The docs are GREAT but nothing like some good examples.

need docs

Hi, Can I get a little help on adding the mixins, I've tried the instructions at https://platanus.github.io/angular-restmod/PagedModel.html That is: donation = restmod.model('/donations', 'PagedModel'); Results in the following exception Unknown provider:...

I am working on jsonapi.org strict standard and that is sending everything in included:{} element, which need object and gradual cache feeding. Please have a look and see if this...

I had to send different HTTP methods instead if PUT/POST/DELETE so I made it as configurable options in this branch. You can have a look at the changes if they...

If I want to extend by overriding any of the builder function already registered, it was not extending because of an underscore was missing in there.