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

Surface omitted functions #465

Closed
brysgo opened this issue May 12, 2017 · 4 comments
Closed

Surface omitted functions #465

brysgo opened this issue May 12, 2017 · 4 comments

Comments

@brysgo
Copy link
Contributor

brysgo commented May 12, 2017

Found out the hard way that overloaded functions are ignored. Would love to have some way to see the objects and functions omitted along with the reason.

Forgive me if there is a way I overlooked.

@brysgo
Copy link
Contributor Author

brysgo commented May 12, 2017

On my phone, on subway, referenced the wrong issue, will fix later. (edit: removed reference to wrong issue)

@ikari-pl
Copy link

I also have a function that gets ignored that returns a inline-defined TABLE(id int, data text...) rather than an existing table model or a simple field. Is this supported?
If a function is deliberately ignored by the library, it should be logged as a warning...

@benjie
Copy link
Member

benjie commented Aug 22, 2017

@benjie
Copy link
Member

benjie commented Aug 15, 2018

We now have Failed to add function warnings; hopefully that will help 👍

https://github.com/graphile/graphile-build/blob/0fce134cac219d196ec97ead668ddbef7140b66c/packages/graphile-build-pg/src/plugins/PgQueryProceduresPlugin.js#L85-L95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants