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

Migrate comment inReplyTo field to single value (ref #1454) #1690

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Aug 5, 2021

This is how we can do protocol migrations now with the new way of sending and receiving apub objects. I think its very elegant.

Tested by inspecting the json, and by temporarily changing the code to send the new variant (works fine).

@dessalines
Copy link
Member

If you'd like to do it this way, that's up to you, but don't be afraid to make breaking changes in the federation code. Anytime we do that, we just have to make sure its a minor or major release.

@dessalines dessalines merged commit 9d936a3 into main Aug 5, 2021
@Nutomic
Copy link
Member Author

Nutomic commented Aug 5, 2021

I am going to do some other breaking changes where migrations wont be possible (or too complicated), but I dont want to break something as basic as comment federation. That would only lead to more centralization around lemmy.ml.

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