You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Postgraphile to generate a GraphQL schema from a Postgres database. Postgraphile has the concept of Smart Tags that, similar to the @type comment, use the @ symbol to be recognised.
If I have a comment like this, everything works fine:
comment on column public.attachment.file is E'@type(FileMetadata, ''../../services/Types.d'', true, false, true)';
file: FileMetadata;
But if I start including Postgraphile Smart Tags, it breaks:
comment on column public.attachment.file is E'@behaviour -*@type(FileMetadata, ''../../services/Types.d'', true, false, true)';
Incidentally, Postgraphile also has a @type comment. So far I haven't run into conflicts with it, but that's probably because I haven't used either very much!
The text was updated successfully, but these errors were encountered:
Right, that would be a problem! I guess I should make those tags optional as I don't think many people use them and it's probably better solved with a hook instead. I will ponder this.
I'm using Postgraphile to generate a GraphQL schema from a Postgres database. Postgraphile has the concept of Smart Tags that, similar to the
@type
comment, use the@
symbol to be recognised.If I have a comment like this, everything works fine:
But if I start including Postgraphile Smart Tags, it breaks:
Incidentally, Postgraphile also has a
@type
comment. So far I haven't run into conflicts with it, but that's probably because I haven't used either very much!The text was updated successfully, but these errors were encountered: