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

Assign the same property multiple times in a view helper #8

Closed
2 tasks done
brotkrueml opened this issue Jun 29, 2019 · 0 comments
Closed
2 tasks done

Assign the same property multiple times in a view helper #8

brotkrueml opened this issue Jun 29, 2019 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@brotkrueml
Copy link
Owner

brotkrueml commented Jun 29, 2019

As an integrator I want to assign the same property multiple times as a string in a view helper. For example: the "sameAs" property in an "Organization" type to set additional profiles.

Example output:

<script type="application/ld+json">
{
    "@context":"http://schema.org",
    "@type":"Organization",
    "name": "Acme Ltd.",
    "sameAs": [
        "http://example.org/profile1",
        "http://example.org/profile2",
        "http://example.org/profile3"
    ]
}</script>

The multiple assignment of a type is already implemented with the usage of child type view helpers.

Acceptance criteria:

  • It is possible to add a property value multiple times as a string in a view helper.
  • The documentation is adjusted.
@brotkrueml brotkrueml self-assigned this Jun 29, 2019
@brotkrueml brotkrueml added this to the Road to version 1.0 milestone Jun 29, 2019
@brotkrueml brotkrueml added the feature New feature or request label Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant