How to implement atomic operations #995
Replies: 6 comments 6 replies
-
thats for version 1.1 of the spec which this package do not support yet. |
Beta Was this translation helpful? Give feedback.
-
Yes, I am aware. |
Beta Was this translation helpful? Give feedback.
-
also before implementing an exension, we need to implement the baseline core features of v 1.1 rc3+ :D |
Beta Was this translation helpful? Give feedback.
-
Since this is not yet available in this library I made my own sketch in Flask before implementing it myself in my Django project. Maybe it helps someone: https://github.com/Nekidev/jsonapi-atomic |
Beta Was this translation helpful? Give feedback.
-
Here is a first alpha version for an atomic operations extension. Helpfull if someone could contribute. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Any update on this? Will official support be added to this project? Or should we plan on using jokiefer's extension? |
Beta Was this translation helpful? Give feedback.
-
The new JSON:API spec has added Atomic Operations: https://jsonapi.org/ext/atomic/
This is to discuss how could this be implemented in a salable and DRY way.
Edit:
@jokiefer has started working on a library drf-json-api-atomic-operations, and we encourage anyone who needs atomic operation support to join his effort implementing it.
Beta Was this translation helpful? Give feedback.
All reactions