code: function createCompatNode(
    t: $FlowFixMe,
    modernNode: Object,
    classicNode: Object,
  ): Object {
    return t.objectExpression([
      t.objectProperty(t.identifier('modern'), modernNode),
      t.objectProperty(t.identifier('classic'), classicNode),
    ]);
  }
docs: Relay Compat transforms graphql definitions into objects with `modern` and
  `classic` keys, each containing the resulting transforms.