Closed stlbucket closed 9 months ago
I think that's everything on this topic I could mine from discord.
It could be something supabase is doing that is non-standard?
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'patchField', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'updateByKeysField', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'deleteByKeysField', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'updateByKeysInputType', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'deleteByKeysInputType', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'updateNodeField', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'deleteNodeField', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'updateNodeInputType', but no such inflector exists.
Plugin 'PgSimplifyInflectionPlugin' attempted to overwrite inflector 'deleteNodeInputType', but no such inflector exists.
^ These errors are an indication that the simplify inflection plugin is running before the inflectors are registered. This is unrelated to supabase; and likely it means that you've added the simplify inflection preset too early in the list - it should be near the end.
getAttributes() called on constraint 'key_parent_key_fkey' (type = 'f'), but we could not find the constraint's table (oid = '25446') in the introspection results; returning empty array
getForeignAttributes() called on constraint 'key_parent_key_fkey' (type = 'f'), but we could not find the constraint's foreign table (oid = '25446') in the introspection results; returning empty array
getAttributes() called on constraint 'secrets_key_id_fkey' (type = 'f'), but we could not find the constraint's table (oid = '25696') in the introspection results; returning empty array
getForeignAttributes() called on constraint 'secrets_key_id_fkey' (type = 'f'), but we could not find the constraint's foreign table (oid = '25446') in the introspection results; returning empty array
^C%
^ These issues typically occur when there are tables coming from extensions. We exclude tables from extensions, but apparently we might not exclude their constraints; see graphile/crystal#1750
I'm going to close this as a duplicate of graphile/crystal#1750 for now.
it seems to be a different reason for the inflector warnings
from my graphile.config.ts
const preset: GraphileConfig.Preset = {
extends: [
amber,
makeV4Preset({
simpleCollections: "both",
disableDefaultMutations: true,
dynamicJson: true
}),
PgSimplifyInflectionPreset,
/* Add more presets here */
],
It could be that you have disable mutations or something; are you able to reproduce in a PR to ouch-my-finger?
I will try and make an isolated reproduction of it soon
This whole issue was just trying not to lose a couple things from our thread a couple weeks back - neither are show-stoppers.
Tracking these things down will help other users so I appreciate the effort!
This is running on supabase. This is all coming from the vault table in one of the supabase-specific schemas.