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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed any types to be unknown #16344

Merged
merged 3 commits into from
Jul 9, 2021

Conversation

LarryOsterman
Copy link
Member

No description provided.

@@ -103,7 +103,7 @@ export interface AttestationResult {
* `runtimeJson` parameter to the `Attest` API is specified. It will
* not be populated if the `runtimeData` parameter is specified.
*/
runtimeClaims: any;
runTimeClaims: unknown;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runTime feels odd in comparison to runtime, did someone ask for this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xirzec asked me to change inittimeData to initTimeData. To be consistent in naming convention, I renamed runtimeData to match the pattern.

inittimeData is data which is presented at the time the enclave is initialized, runtimeData is data which is presented at the time that the evidence is created. The naming convention for both of these should be the same, IMHO since they are so closely related.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, initTime and runTime is also consistent with the AttestSgxEnclaveOptions/AttestOpenEnclaveOptions model types.

Copy link
Member

@deyaaeldeen deyaaeldeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, you ditched all anys!

@LarryOsterman LarryOsterman merged commit 1c238f8 into Azure:main Jul 9, 2021
@LarryOsterman LarryOsterman deleted the LarryO-ApiReview1 branch July 9, 2021 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants