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

Improve Vulcain support #3275

Merged
merged 2 commits into from
Nov 19, 2019
Merged

Improve Vulcain support #3275

merged 2 commits into from
Nov 19, 2019

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Nov 18, 2019

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tickets n/a
License MIT
Doc PR todo

Allows to generate IRIs instead of embedding documents for Hydra collections.

TODO:

  • update the JSON-LD context accordingly

@dunglas dunglas merged commit 2430ab5 into api-platform:master Nov 19, 2019
@dunglas dunglas deleted the vulcain branch November 19, 2019 22:49
@teohhanhui
Copy link
Contributor

So is it expected to be used like this for now?

api_platform:
    defaults:
        normalization_context:
            iri_only: true

@dunglas
Copy link
Member Author

dunglas commented Nov 20, 2019

Exactly, until symfony/symfony#28927 is ready.

norkunas pushed a commit to norkunas/core that referenced this pull request Dec 2, 2019
* Improve Vulcain support

* Add missing @id property
alanpoulain added a commit that referenced this pull request Oct 15, 2020
* Issue-#3275 - feat: Improves iri_only implementation (#3454)

* Add back default context

* fix: minor fixes

Co-authored-by: soyuka <soyuka@users.noreply.github.com>
Co-authored-by: Alan Poulain <contact@alanpoulain.eu>
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.

None yet

3 participants