Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do add default tableLinks? #379

Open
wahidshafique opened this issue Jan 11, 2022 · 0 comments
Open

How do add default tableLinks? #379

wahidshafique opened this issue Jan 11, 2022 · 0 comments

Comments

@wahidshafique
Copy link

wahidshafique commented Jan 11, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant