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

refactor: extend returned lifetimes #19

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

meskill
Copy link
Contributor

@meskill meskill commented Aug 3, 2024

Current lifetimes for some methods on Value are tied to the &self while it actually returns the values with 'ctx lifetime.

Having 'ctx lifetime could simplify usage of the code that is building trait abstraction that should be implemented by serde_json-borrow since the current implementation requires tackling with generic lifetimes (example)

@meskill
Copy link
Contributor Author

meskill commented Aug 8, 2024

@PSeitz could you take a look, please?

@PSeitz PSeitz merged commit 6cb0de0 into PSeitz:main Aug 26, 2024
1 check passed
@PSeitz
Copy link
Owner

PSeitz commented Aug 26, 2024

Thanks!

@meskill meskill deleted the fix/extend-lifetimes branch August 26, 2024 10:15
@meskill
Copy link
Contributor Author

meskill commented Aug 27, 2024

@PSeitz will be there new release any time soon?

@PSeitz
Copy link
Owner

PSeitz commented Aug 28, 2024

I just published 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants