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
The @name smarttag doesn't seems to work when renaming functions with the same name but different signatures
Version 4.12.11
Steps to reproduce
The following code demonstrates the problem:
drop function if exists func(integer);
drop function if exists func(integer, integer);
create function func(i integer) returns integer as $$
select i
$$ language sql;
create function func(i integer, j integer) returns integer as $$
select i + j
$$ language sql;
comment on function func(integer) is E'@name func1';
comment on function func(integer, integer) is E'@name func2';
Expected results
When creating a new mutation, I would expect the renamed functions 'func1' and 'func2' to show up in GraphiQL
Actual results
Neither the renamed functions nor the original functions are available in GraphiQL
The text was updated successfully, but these errors were encountered:
Summary
The @name smarttag doesn't seems to work when renaming functions with the same name but different signatures
Version 4.12.11
Steps to reproduce
The following code demonstrates the problem:
Expected results
When creating a new mutation, I would expect the renamed functions 'func1' and 'func2' to show up in GraphiQL
Actual results
Neither the renamed functions nor the original functions are available in GraphiQL
The text was updated successfully, but these errors were encountered: