Redesigning how providers register themselves #3841
tlimoncelli
started this conversation in
General
Replies: 2 comments
-
|
TODO:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
From the provider maintainer perspective I like just defining the list of supported record types. It sounds like the capabilities matrix will be created based on that list so that existing tools such as the documentation generator work nicely. From the documentation generator perspective it would be harder to work with a list of unknown size. Having the delineated capabilities is very handy from the docs perspective and presumably other programatic consumers of the providers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The way providers work has a number of problems that I'd like to correct.
With meta fields specified like this:
ZONE_EXTEND()would work likeDOMAIN_EXTEND()Here is example code for how providers would register itself:
For backwards compatibility, the
providers.Register()function will set things up so that old code still works.Beta Was this translation helpful? Give feedback.
All reactions