Skip to content

Blueprints Redux

Choose a tag to compare

@pixelhandler pixelhandler released this 16 Nov 06:42
· 149 commits to master since this release
  • Changed all the blueprints to use a prefix jsonapi- so they do not redefine the default blueprints.
  • Added support for generating import paths for pod structure when using the --pod argument with a generator

Example use:
ember generate jsonapi-resource article title:string version:number author:has-one:user --pod

The arguments are passed to the jsonapi-model blueprint so that attrs, has-one, and has-many computed properties can be generated.