Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Recommend using Boolean return type for API TokenCredentialOptionsProvider.TokenCredentialOptions#isManagedIdentityEnabled

Open
#43,102 1 comment 0 reactions 1 assignee Claimed by @rujche View on GitHub
azure-spring feature-request
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**
Recommend using `Boolean` return type for method `TokenCredentialOptionsProvider.TokenCredentialOptions#isManagedIdentityEnabled`, the properties bean copying is a bit annoying because the primitive type has a default value, and you can't be sure whether it is false configured by the user or the default value. It will be a break change.

**Describe the solution you'd like**
`Boolean getManagedIdentityEnabled();`

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.