hunk.code_window:                         "not an input object type"))
   assertType :: G.GType -> G.GType -> Validation (NonEmpty ValidationError) ()
   assertType actualType expectedType = do
     -- The GraphQL spec says that, we can coerce a singleton value into an array
     -- value. Which means that if the 'actualType' is a singleton type, like
     -- 'Int' we should be able to join this with a remote node, which expects an
     -- input argument of type '[Int]'
     -- http://spec.graphql.org/June2018/#sec-Type-System.List
  
hunk.labels: keep keep keep replace replace replace keep keep keep
hunk.after_edit: assertType actualType expectedType =
     -- The GraphQL spec says that, a singleton type can be coerced into  an array
     -- type. Which means that if the 'actualType' is a singleton type, like
  
hunk.file_path: server/src-lib/Hasura/RQL/DDL/RemoteRelationship/Validate.hs
hunk.type: replace
file: import React from 'react';
  import styles from './Styles.scss';
  import Tooltip from './Tooltip';
  
  const editorLabel = 'Name';
  const editorTooltip =
    'Set a name for your action. This will be a root field in your GraphQL schema';
  
  const NameEditor = ({ value, onChange, className, placeholder }) => {
    return (
      <div className={className || ''}>
        <h2
          className={`${styles.subheading_text} ${styles.add_mar_bottom_small}`}
        >
          {editorLabel}
          <Tooltip
            id="action-name"
            text={editorTooltip}
            className={styles.add_mar_left_mid}
          />
        </h2>
        <input
          type="text"
          value={value}
          onChange={onChange}
          placeholder={placeholder}
          className={`form-control ${styles.inputWidth}`}
        />
      </div>
    );
  };
  
  export default NameEditor;
  