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

rename IsValidating to IsValid #2396

Merged
merged 1 commit into from
Jul 28, 2021
Merged

Conversation

JaredCorduan
Copy link
Contributor

No description provided.

Copy link
Contributor

@nc6 nc6 left a comment

Choose a reason for hiding this comment

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

One minor comment


{-# DEPRECATED isValidating "Use isValid instead" #-}
isValidating :: ValidatedTx era -> IsValid
isValidating = isValid
Copy link
Contributor

Choose a reason for hiding this comment

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

For completeness we should also have a deprecated HasField instance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great catch, thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nc6 is it possible to deprecate a class instance? It doesn't seem like it to me. I can add the instance, and leave a TODO to remove it when we remove the other deprecated functions.

Copy link
Contributor

@nc6 nc6 left a comment

Choose a reason for hiding this comment

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

One minor comment

@JaredCorduan JaredCorduan force-pushed the jc/rename-isvalidating-to-isvalid branch from 12f33c1 to e8e63bb Compare July 27, 2021 18:14
@nc6 nc6 merged commit 30eca73 into master Jul 28, 2021
@iohk-bors iohk-bors bot deleted the jc/rename-isvalidating-to-isvalid branch July 28, 2021 20:18
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