Class: Ecoportal::API::GraphQL::Input::LocationStructure::InsertCommand

Inherits:
MoveCommand show all
Defined in:
lib/ecoportal/api/graphql/input/location_structure/insert_command.rb

Overview

Backend evidence (app/graphql/types/inputs/locations/insert_input.rb:7-12, verified against C:\docker\ecoPortal_master): name is required: true -- without it, every insert is rejected by the backend. keywords ([String], optional) was also missing. Both are declared here, on InsertCommand only, NOT on the shared MoveCommand parent -- a plain move has no name/keywords in the backend input, so putting them on the parent would give ReorderCommand's sibling MoveCommand a field the backend does not accept (the mirror image of this bug).

Constant Summary

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Method Summary

Methods inherited from Ecoportal::API::GraphQL::Interface::LocationStructure::Command

#keys, #set_values, #target_ids

Methods included from Concerns::SnakeCamelAccess

#method_missing, #respond_to_missing?

Methods included from Common::GraphQL::Model::AsInput

#as_input, included

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Methods included from Common::GraphQL::ClassHelpers

included

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess