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

Change FusionRenderingService return value restriction #1

Closed
jobee opened this issue Apr 3, 2018 · 1 comment
Closed

Change FusionRenderingService return value restriction #1

jobee opened this issue Apr 3, 2018 · 1 comment

Comments

@jobee
Copy link

jobee commented Apr 3, 2018

Hey @daniellienert ,
was there a reason why you restricted the return values of render and renderByIdentifier to string ?
Wouldn't it be much more flexible if we could render e.g. Neos.Fusion:RawArray s like:

searchSuggestionPayload = Neos.Fusion:RawArray {
  label = ${node.label}
  href = NodeUri {
    node = ${documentNode}
  }
  thumbnail  = ImageUri {
    @if.hasImage = ${node.properties.image}
    asset = ${node.properties.image}
    width = 53
    height = 53
    allowCropping = true
    allowUpScaling = true
  }
}
@daniellienert
Copy link
Member

Hey @jobee, sorry for not responding for 2 years.
I see your point, constraints are removed.

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

No branches or pull requests

2 participants