Connecting to external Postgres with Postgraphile API
-
Hi. The plugin works great as far as to querying in the Wp DB, but I would like to use it to talk with an external Postgres DB with a PostGraphile API.
This seems to imply modifying the plugin’s schema to include the necessary fields and types for interacting with the PostGraphile API. It probably involves creating custom resolvers and modifying the schema using theregister_graphql_fields
andregister_graphql_object_type
functions provided by the WPGraphQL plugin (says ChatGPT).
Or are there other ways?cheers, Karl
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Connecting to external Postgres with Postgraphile API’ is closed to new replies.