Skip to content

Commit

Permalink
IBX-7603: Added missing subfield for ezurl
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdebinski committed Feb 5, 2024
1 parent d4a9610 commit f616e1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
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"

0 comments on commit f616e1f

Please sign in to comment.