Open WilliamDEdwards opened 2 months ago
Version 2.0 will be delayed by at least 2 weeks.
It was set for September 1st, 2024. But we will be making several improvements based on tests.
Version 2.0 is delayed by another 2 weeks (pessimistic ETA). A lot of progress is being made.
Discussed in https://github.com/CyberfusionIO/cyberfusion-cluster-api-client/discussions/91
Specific request classes
Problem: it is not clear which data is required to perform a certain action. Currently, the model is used for everything, for creating, updating or retrieving data.
Solution: use specific request classes, in which you MUST provide the required data and MAY provide optional data. When an object is retrieved, the model with all data is returned.
Solves https://github.com/CyberfusionIO/cyberfusion-cluster-api-client/issues/7
Enums
We can use proper enums (now that PHP 8.1 is required, see https://github.com/CyberfusionIO/cyberfusion-cluster-api-client/pull/116).
Auto-generation
The client will be mostly auto-generated.
Advantages:
Naming