Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a stronger type for DigitalOcean resource urns #523

Open
kylepl opened this issue Oct 30, 2023 · 0 comments
Open

Use a stronger type for DigitalOcean resource urns #523

kylepl opened this issue Oct 30, 2023 · 0 comments
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features

Comments

@kylepl
Copy link

kylepl commented Oct 30, 2023

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

As I recently ran into, there a urns returned for Pulumi use, and urns for Digital ocean use (see here). Fine, multiple user of urns.

My thought is what if we could add stronger typing then String, and could have a type like DOUrn, which the resources type could take.

It would require some changes for users upgrading to make it type-safe, though.

@kylepl kylepl added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Oct 30, 2023
@mikhailshilkov mikhailshilkov added impact/usability Something that impacts users' ability to use the product easily and intuitively and removed needs-triage Needs attention from the triage team labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants