Skip to content

SDK DTO priority #3

Description

@phpc

SDK DTO priority

Priority

  1. Example Note DTO in SDK
  2. Prototype usage SDK
  3. Generate DTOs for SDK
  4. Tests in middlewares
  5. Refactor middlewares to use SDK
  6. Generate DTOs for internal use
  7. ...
  8. Side quest MCP
  9. ...

Steps

Example Note DTO in SDK

Do a Detail "Complet" example on Note entity
Ref : https://github.com/PHPCreation/phpcreation-sdk-php/tree/main/src/PHPReaction/V3/NoteBundle/Note

Define template for entpoints

Prototype usage SDK

Test sdk dto ( into phpr_phpr_derma )

Generate DTOs for SDK

in project : https://github.com/PHPCreation/phpreaction-api-endpoints-tests/issues/195

Generate dto folder structure
#1

Define template(s) for each endpoint cases :

  • Request
  • Response

Languagues :

  • PHP
  • JS
  • Python

Detect changes API spec definition

  • Regeneration human doc
  • Regeneration dto process
  • Notifiy integrators subcribe on event ?

Test DTO on API endpoints

Test DTO on api tests
https://github.com/PHPCreation/phpreaction-api-endpoints-tests/issues/194

Tests in middlewares

use & refactor for using DTO from SDK into middlwares

Reenforce Quality

middlewares need to use API

Middlewares :

  • WooCommerce
  • Shopify
  • Magento2
  • LesLibraires
  • Gaspard
  • ...

Generate DTOs for internal use

PHPR API Usage as structured input "" output ""

Refactor dto into phpr

Validate usage
Validate performance

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions