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

IBX-7603: Added missing subfield for ezurl #137

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Resources/config/default_settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ parameters:
definition_type: TextBlockFieldDefinition
value_type: String
ezurl:
value_type: UrlFieldValue
input_type: UrlFieldInput
13 changes: 13 additions & 0 deletions src/Resources/config/graphql/Field.types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,16 @@ SelectionFieldValue:
type: "String"
description: "String representation of the value"
resolve: "@=value"

UrlFieldValue:
type: object
config:
fields:
link:
type: String
description: "The link's URL"
resolve: "@=value.link"
text:
type: String
description: "The link's name or description"
resolve: "@=value.text"
Loading