Skip to content

Conversation

mahenzon
Copy link
Member

@mahenzon mahenzon commented Aug 9, 2023

https://jsonapi.org/ext/atomic/

  • Валидация входных данных - верхний уровень документа
  • Валидация входных данных - объекты операции
  • Валидация входных данных - объекты результата
  • Валидация входных данных - локальный идентификатор
  • Атомарные операции в JSON:API библиотеке:
    • create
    • update
    • delete
    • local id

TBD later (when relationships resources are ready)

  • relationships
    • add
    • update
    • remove

@mahenzon mahenzon force-pushed the feature/atomic-operations branch 2 times, most recently from 9c4de66 to b96ac1a Compare August 15, 2023 06:32
@mahenzon mahenzon force-pushed the feature/atomic-operations branch from b96ac1a to ff53a1f Compare August 23, 2023 08:07
@mahenzon mahenzon force-pushed the feature/atomic-operations branch from ff53a1f to d90b2d8 Compare August 24, 2023 13:13
Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be a great addition, but do the framework already support json:api 1.1 already?

@mahenzon
Copy link
Member Author

@auvipy hi! are there some features from 1.1 which have to be implemented in the library? I read changelog, I see that there're some updates for schemas and links, also something else. but I didn't implement "links" field yet.
So if you can point which features are required to upgrade to 1.1, I'll be glad to discuss it

@mahenzon mahenzon merged commit fe05d76 into main Sep 13, 2023
@mahenzon mahenzon deleted the feature/atomic-operations branch September 14, 2023 04:45
@auvipy
Copy link

auvipy commented Sep 14, 2023

for v1.1 specs you can check django-json-api/django-rest-framework-json-api#1092

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