GraphQL microservice in NodeJS using CloudSQL MySQL database

2 Open Issues Need Help Last updated: Jul 6, 2025

Open Issues Need Help

View All on GitHub
Issue with /query about 2 months ago

AI Summary: The task is to improve the error handling in the Node.js GraphQL microservice's `FlexQuery` resolver. Currently, a malformed communication packet error from the MySQL database (`ER_MALFORMED_PACKET`) causes a generic 'Failed to execute flexible query' error to be returned to the client. The solution involves catching the specific `ER_MALFORMED_PACKET` error in the `services/db.mjs` and `schema/resolvers/lore.js` files, logging it appropriately, and returning a more informative and user-friendly error message to the client, potentially including details about the failed query without exposing sensitive information.

Complexity: 4/5
bug good first issue

GraphQL microservice in NodeJS using CloudSQL MySQL database

JavaScript

AI Summary: Debug and fix a data handling issue in a Node.js GraphQL microservice. The issue involves incorrect parsing or handling of object names containing apostrophes, leading to errors. The task requires identifying the source of the error (client-side or server-side), modifying the relevant code (likely within the schema resolvers or database interaction layer), and testing the fix to ensure proper handling of apostrophes in object names.

Complexity: 3/5
bug good first issue

GraphQL microservice in NodeJS using CloudSQL MySQL database

JavaScript