Skip to content

How do add default tableLinks? #379

@wahidshafique

Description

@wahidshafique

I have a config item that looks like this

      baseId: process.env.AIRTABLE_BASE_ID,
      tableName: screenName,
      tableLinks: ['Claims', 'Interrupts', 'Carousels', 'Demographics'],
      defaultValues: {
        Is_Sticky: false,
        Status: 'Not Used',
      }

Now those are linked records that point to another table, how can I specify a "default". Whenever I do I get this error

Missing onError handler for invocation 'building-schema', error was 'Invariant Violation: Encountered an error trying to infer a GraphQL type for: `Content___NODE`. There is no corresponding node with the `id` field matching:

Is there a way for me to just point it to a stub or even a simple null value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions