You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose is to create a zone, with more specific options.
Detailed description
To create a zone, I think it would be nice to supply the Zone resource, instead of the parameters. This way it's easier to create a zone with more specific options, like a soaEditApi value.
Context
This makes it easier to create a more specific zone.
Possible implementation
$zone = new Resources\Zone();
$zone->set...();
...
$powerDns->createZoneFromResource($zone);
What needs to be done:
Create a toArray function on the resource.
Create a method which passes the data to $this->connector->patch()
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! I'll add it to our backlog so we can add it. I expect to release it in a new version before may, but I can't promise anything. Of course a PR is also welcome!
The purpose is to create a zone, with more specific options.
Detailed description
To create a zone, I think it would be nice to supply the Zone resource, instead of the parameters. This way it's easier to create a zone with more specific options, like a
soaEditApi
value.Context
This makes it easier to create a more specific zone.
Possible implementation
What needs to be done:
toArray
function on the resource.$this->connector->patch()
The text was updated successfully, but these errors were encountered: