fullcube / loopback-ds-readonly-mixin

A mixin to enable readonly properties for loopback Models
MIT License
51 stars 19 forks source link

mixinsources #3

Closed mrbatista closed 8 years ago

mrbatista commented 8 years ago

-mixins property in model-config.json support directory; -Removed backward compatibility with non-camelcase model Readonly; -Fix style issue; -Update README.

mrbatista commented 8 years ago

@mrfelton I removed not-camelcase model because loopback during boot automatically converts dashed names (read-only.js) in camel-case. See this documentation for more information.

mrbatista commented 8 years ago

@mrfelton Would you mind taking a quick look into test should not change readonly properties with bulk updates? Thanks.

mrfelton commented 8 years ago

Thanks @mrbatista . I have tried with your changes but still none of the tests pass and I can see no evidence that the mixin is being loaded.

mrbatista commented 8 years ago

@mrfelton Sorry, try now.

mrfelton commented 8 years ago

Thanks @mrbatista merged and published as v1.0.1.