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

Fix lifetimes for IO functions #1733

Conversation

workingjubilee
Copy link
Member

@workingjubilee workingjubilee commented Jun 7, 2024

While sorting out lifetime problems to make #1731 landable, I noticed JsonInOutFuncs is completely replaceable with two reexports. So I replaced it. This also made the changes to sort out the rest of the lifetimes obvious, and now we return CString always from these functions.

@workingjubilee workingjubilee force-pushed the switch-json-io-funcs-to-use-serde-json-directly branch from a323e6b to a3325ff Compare June 7, 2024 08:02
@workingjubilee
Copy link
Member Author

This plus another small fix reduces the error output remaining for #1731 from 465 to 305 lines.

@workingjubilee workingjubilee force-pushed the switch-json-io-funcs-to-use-serde-json-directly branch from a3325ff to df96586 Compare June 7, 2024 08:17
@workingjubilee workingjubilee changed the title Remove JsonInOutFuncs Fix lifetimes for IO functions Jun 7, 2024
@workingjubilee
Copy link
Member Author

235, actually.

@workingjubilee
Copy link
Member Author

Another fix and now down to 199, and now I just need to rethink how I'm doing the ArgAbi impl for Vec.

@workingjubilee workingjubilee merged commit 53ed4da into pgcentralfoundation:develop Jun 7, 2024
12 checks passed
@workingjubilee workingjubilee deleted the switch-json-io-funcs-to-use-serde-json-directly branch June 7, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant