-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACR] Rename ArtifactManifestProperties.Size
->SizeInBytes
#26268
Conversation
@annelo-msft, @KrzysztofCwalina - the one other potential rename we wanted to investigate was for From the feedback I got, we can use the So, the choice is between |
API changes have been detected in API changes - public long? Size { get; }
+ public long? SizeInBytes { get; }
- public static ArtifactManifestProperties ArtifactManifestProperties(string registryLoginServer = null, string repositoryName = null, string digest = null, long? size = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, ArtifactArchitecture? architecture = null, ArtifactOperatingSystem? operatingSystem = null, IEnumerable<ArtifactManifestPlatform> relatedArtifacts = null, IEnumerable<string> tags = null, bool? canDelete = null, bool? canWrite = null, bool? canList = null, bool? canRead = null);
+ public static ArtifactManifestProperties ArtifactManifestProperties(string registryLoginServer = null, string repositoryName = null, string digest = null, long? sizeInBytes = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, ArtifactArchitecture? architecture = null, ArtifactOperatingSystem? operatingSystem = null, IEnumerable<ArtifactManifestPlatform> relatedArtifacts = null, IEnumerable<string> tags = null, bool? canDelete = null, bool? canWrite = null, bool? canList = null, bool? canRead = null); |
Were you able to look into what others HLC libraries do when we have this plural situation? I believe @KrzysztofCwalina's guidance was to be consistent with the existing precedent if there is one. In LLC, we use the |
I didn't find any instance of this particular case. There are several places where we use the |
If we go with the Collection suffix over including |
Per @KrzysztofCwalina:
|
ArtifactManifestProperties.Size
->SizeInbytes
ArtifactManifestProperties.Size
->SizeInBytes
API changes have been detected in |
@annelo-msft, @KrzysztofCwalina - I have updated the API names as per our discussion. I will add an entry to the guidelines to the effect of - |
...gistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ArtifactManifestProperties.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, I see we're aligning with the LLC precedent. Thanks for doing this!
No description provided.