-
Notifications
You must be signed in to change notification settings - Fork 32
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
RFC 65: Adding UUIDs into ListBlock #65
Conversation
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
This brings it slightly closer to StreamChild, and we'll need it later for wagtail/rfcs#65
Assuming accepted given the thumbs up, and no objections when I presented it in the team meeting a couple of months ago |
Discussed this in the core team meeting and we're all for this. Will require release notes for anyone that works directly with the values |
I like this. All blocks have a type and id, so this would make list block consistent. 👏 |
I agree with the approach and don't have any questions or comments. Thanks @kaedroho and @jacobtoppm 👍 |
Looks good to me too. I think it's important that we keep the preserve the outward-facing behaviour of ListBlock (i.e. iterating over it gives a list of values without any extra wrapper), but that's been accounted for here. As @zerolab mentions, this does need to be covered in the release notes for anyone with existing project code that works directly the JSON representation and expects to find the old representation. Just wondering what this should mean for streamfields in API responses? If we're sticking rigorously to the policy of no breaking changes without an API version bump, then we really ought to normalise them to the old representation at the point of output. I'm inclined to say that's overkill in practice though. |
Thanks, everyone for your feedback!
This shouldn't be too difficult to do by overriding |
Moving to FCP since it looks like all discussions are resolved and people are happy with this change! |
It's been a few weeks, hopefully this is still moving ahead? =) |
@Pomax Yep, I think this has had a long enough FCP period now! |
Nice, I missed this landing! Is there a corresponding implementation issue on the wagtail repo that folks can subscribe to, in order to follow the progress there? |
Hey @Pomax I believe this is actually being implemented right now by @gasman and @Tijani-Dia. Should be ready in the next couple of weeks |
Awesome! Still, do accepted RFCs in general turn into implementation epics that people can then subscribe to? |
@Pomax there is no hard rule for that, but usually they will be followed up by a PR (or series of PRs). For this one, see wagtail/wagtail#7737 |
gotcha, thanks. |
PR implementing this RFC: wagtail/wagtail#7741 |
Rendered