Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::EditFieldConfiguration::PlainText
- Defined in:
- lib/ecoportal/api/graphql/input/workflow_command/field_config/plain_text.rb
Constant Summary collapse
- SCHEMA_VERSION =
'20260828'.freeze
- VALID_KEYS =
20260713: smartFillConfiguration moved out to dedicated add/edit/removeSmartFillConfig commands. 20260828: added
multiline, which the backend's PlainTextInput declares asrequired: false(schema authority: backend source, not the stale 2026-07-30 introspection dump). This builder previously dropped it via kwargs.slice with no error, no warning, no effect: a copied template's multiline text fields came back single-line, and this dropped key is why that could not be fixed through the gem's builder. i[value maxLength multiline].freeze
Class Method Summary collapse
Class Method Details
.build(**kwargs) ⇒ Object
18 19 20 |
# File 'lib/ecoportal/api/graphql/input/workflow_command/field_config/plain_text.rb', line 18 def self.build(**kwargs) { plainText: kwargs.slice(*VALID_KEYS).compact } end |