Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds documentation for extending json-ld contexts #122

Merged
merged 1 commit into from
Oct 12, 2016
Merged

Adds documentation for extending json-ld contexts #122

merged 1 commit into from
Oct 12, 2016

Conversation

maechler
Copy link
Contributor

No description provided.

# Extending JSON-LD context

API Platform Core provides the possibility to extend the JSON-LD context of properties. This allows you to describe JSON-LD
typed values, inverse properties using the @reverse keyword and you can even overwrite the @id property this way. Everything you define
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`@reverse`

(same of @id)

}
```

Note that you do not have to provide the @id attribute, if you do not provide an @id attribute, the value from "iri" will be taken.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@dunglas
Copy link
Member

dunglas commented Oct 11, 2016

Great! I just left some minor comments.

@maechler
Copy link
Contributor Author

@dunglas Thanks, I updated the pull request.

@dunglas dunglas merged commit b0cd656 into api-platform:master Oct 12, 2016
@dunglas
Copy link
Member

dunglas commented Oct 12, 2016

Thank you @maechler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants