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

#454 is incomplete #463

Closed
dvv opened this issue Dec 1, 2023 · 1 comment · Fixed by #465
Closed

#454 is incomplete #463

dvv opened this issue Dec 1, 2023 · 1 comment · Fixed by #465

Comments

@dvv
Copy link

dvv commented Dec 1, 2023

          @imor Please verify this is not my setup and help to get rid of the error:
begin;

create schema if not exists a1; grant usage on schema a1 to public;
create table a1.foo(id int primary key); grant select on table a1.foo to public;
insert into a1.foo (id) values (1);
create or replace function a1.bar(a1.foo) returns int[] stable return array[1, 2, 3]::int[];
grant execute on function a1.bar(a1.foo) to public;
set local search_path to a1;
comment on schema a1 is e'@graphql({"inflect_names": true})';
select graphql.resolve($$query {fooCollection {edges{node{ id bar }}}}$$); -- invalid return type from function

rollback;

Originally posted by @dvv in #454 (comment)

@olirice
Copy link
Contributor

olirice commented Dec 7, 2023

could you pls check if the PR resolves the issue?

@imor imor closed this as completed in #465 Dec 8, 2023
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

Successfully merging a pull request may close this issue.

2 participants