Skip to content

Association documentation on Readme might be out of date #15

Open
@brucepom

Description

@brucepom

Great work on this project by the way.

In the main readme the association examples are:

hasMany :articles, :class => 'Article', :inverse => :author
belongsTo :author, :class => 'Author', :inverse => :articles

But it looks like the format of these has changed and is currently:

hasMany :ingredients, :destinationEntity => Ingredient.entityDescription, :inverse => :recipe
hasOne :recipe, :destinationEntity => Recipe.entityDescription, :inverse => :ingredients

Thanks again for the great project!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions