-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: add Paths Object for GET requests on RPC endpoints #42
base: main
Are you sure you want to change the base?
Commits on Sep 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1b31a9 - Browse repository at this point
Copy the full SHA c1b31a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 410d83b - Browse repository at this point
Copy the full SHA 410d83bView commit details -
fix: prepend schema names for tables/composite types to avoid name co…
…llisions References have only the table/composite type name when they belong to the `current_schema`. If they do not, then the references have the form `<schema>.<name>`. Affected references: Parameter Objects and Schema Objects.
Configuration menu - View commit details
-
Copy full SHA for bb725fd - Browse repository at this point
Copy the full SHA bb725fdView commit details
Commits on Sep 23, 2024
-
feat: build Component Schemas for non-composite return types
* These Component Schemas are needed to build the Response Objects for functions. * The functions returning composite types are not included since those Component Schemas are already built in another function.
Configuration menu - View commit details
-
Copy full SHA for 381e026 - Browse repository at this point
Copy the full SHA 381e026View commit details -
feat: add Parameter Objects for RPC arguments
* Specifies RPC arguments as query parameters, since they are needed for RPC GET requests. * Since these arguments are different from row filters (e.g. `arg=val` not `arg=eq.val`) the original types can be used (except for objects or arrays).
Configuration menu - View commit details
-
Copy full SHA for c47b3f6 - Browse repository at this point
Copy the full SHA c47b3f6View commit details -
feat: add Response Objects for function return types
* Adds media type responses for the different return types of functions (RETURNS TABLE, RETURNS <type>, INOUT/OUT arguments). * The `application/json` media type returns `array` only when the function is `SET OF`.
Configuration menu - View commit details
-
Copy full SHA for 7d824af - Browse repository at this point
Copy the full SHA 7d824afView commit details -
feat: add Paths Object for GET requests on RPC endpoints
* Adds "/rpc/<function_name>" endpoints for valid functions to the Paths Object. * Valid functions are those that have no unnamed parameters or have a single unnamed parameter of type `json`,`jsonb`,`text`,`xml`. The rest are invalid. * Only `RETURNS SET OF` functions can return `206` to a partial request. * Common parameters such as `select`, `or`, etc. can be used when a function RETURNS TABLE, composite types or has INOUT/OUT parameters.
Configuration menu - View commit details
-
Copy full SHA for ee161f2 - Browse repository at this point
Copy the full SHA ee161f2View commit details