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
Hey @bjammin,
I really like your idea and believe this approach is better than implementing each one individually.
However, I’d prefer not to allow developers to use free text strings as setting IDs. With this library, they shouldn't have to browse Cloudflare documentation for IDs and endpoints. While this does create a minor limitation when Cloudflare introduces new features, it ensures a safer and more efficient experience in most cases.
So, what do you think about using an enum with attributes? I'm open to other suggestions as well!
Also those endpoints which are already there like GetAlwaysUseHttpsSettingAsync should be marked as obsolete with a comment stating the new api should be used and it will be removed in the next version.
Thanks for the great library.
I am happy to submit a PR for this, but wanted to check if it's likely to get merged first.
There are a lot of zone settings missing from the Zones.Settings namespace.
Since so many of them are boolean (feature on/off), it would be handy to add a custom method to cover them without having to implement specifically.
Or would you prefer they are each implemented individually?
The text was updated successfully, but these errors were encountered: