rfcs/remote-schema-customization.md
Add an optional customization object to the add_remote_schema API with the following form:
customization:
# if root_fields_namespace is absent, the fields
# are merged into the query root directly
root_fields_namespace: "something"
type_names:
prefix: some_prefix
suffix: some_suffix
# mapping takes precedence over prefix and suffix
mapping:
old_name: new_name
field_names:
- parent_type: old_type_name
prefix: some_prefix
suffix: some_suffix
# mapping takes precedence over prefix and suffix
mapping:
old_name: new_name
__, standard scalar types (Int, Float, String, Boolean, and ID), and types with an explicit mapping.__ and standard scalar types may only be customized with an explicit mapping.