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
Failed to use Postgraphile as a graphql datasource #46
Comments
I think we should build a postgraphile example and figure out the issues you're facing here. I know there are a few quirks with graphile and the Node interface, but it's solveable. |
I already used postgraphile with WG few months ago without issue. |
@abdelhameedhamdy Could you share some sample? I have tried the latest version but still not working. And the postgraphile subscriptions feature also doesn't work even with the option |
Sorry for late reply, it just works as you did, postgraphile endpoint exposed from cli, url endpoint data source is added in WG config file, simple as that. |
@minhdtb as an alternative, could you directly connect to PostgreSQL using |
@jensneuse I want to use custom query feature of postgraphile by using plpgsql function. So I used postgraphile as a datasource. Currently, if postgraphile's custom query returns a JSON data type, wundergraph won't get it. According to the document here url, I see that replaceJSONTypeFields only support db datasource, I think this feature is needed for graphql datasource as well |
That's great feedback. I think it makes sense to add this feature to all data sources. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm having the same issue with integrating postgraphile and really hope to use wundergraph with it. is there any plan to solve this if i may ask? |
Bug description
an error occurred and the code could not be generated
only working with option
--skip-plugins graphile-build:NodePlugin
How to reproduce
run postgrapgphile
setup datasource
wundergraph.config.ts
run wunderctl
error
Expected behavior
working as expected
WunderGraph information
N/A
Environment & setup
OS: Ubuntu
Go version: go1.17.2 linux/amd64
Database: PostgreSQL
Node.js version: v16.15.1
WunderCtl Version
The text was updated successfully, but these errors were encountered: