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
when this plugin is enabled, a column that otherwise is omitted from the generated api is still present
to reproduce
create table articles
(
id int generated by default as identity primary key
);
create table article_drafts
(
id int references articles (id) on delete cascade,
title text
);
comment on column article_drafts.id is E'@omit update';
when plugins-nested-mutations is disabled the resulting updateArticleDraft mutation's path type ArticleDraftPatch does not have an id
when it is enabled, ArticleDraftPatch has a field id (but it gets ignored on updates)
expectation
i'd say if the id column is omitted from the update mutation by a smart tag, also this plugin should respect that.
the ArticleDraftPatch should neither have a field id: Int nor articleToId: ArticleDraftsIdFkeyInput
versions used
using version 1.1.0 with postgraphile 4.11.0
The text was updated successfully, but these errors were encountered:
when this plugin is enabled, a column that otherwise is omitted from the generated api is still present
to reproduce
when plugins-nested-mutations is disabled the resulting
updateArticleDraft
mutation's path typeArticleDraftPatch
does not have an idwhen it is enabled,
ArticleDraftPatch
has a fieldid
(but it gets ignored on updates)expectation
i'd say if the id column is omitted from the update mutation by a smart tag, also this plugin should respect that.
the
ArticleDraftPatch
should neither have a fieldid: Int
norarticleToId: ArticleDraftsIdFkeyInput
versions used
using version 1.1.0 with postgraphile 4.11.0
The text was updated successfully, but these errors were encountered: