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

Fix CI: Revert chaintypes change and move check to API module #738

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

fishmonger45
Copy link
Contributor

Move chaintypes process exit to api module so that jest doesn't die

@fishmonger45 fishmonger45 changed the title Fix CI: Revert chaintypes and add try block Fix CI: Revert chaintypes change and move check to API module Jan 6, 2022
Copy link
Collaborator

@ianhe8x ianhe8x left a comment

Choose a reason for hiding this comment

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

It still feels not right, that we make a getter failible, though since Jay is refactoring this part, I will merge this for now.

@fishmonger45
Copy link
Contributor Author

fishmonger45 commented Jan 6, 2022

It still feels not right, that we make a getter failible, though since Jay is refactoring this part, I will merge this for now.

Agreed; getters shouldn't be doing this sort of processing and it needs to be split off into other functions. Perhaps add validation in the constructor or something?

@ianhe8x ianhe8x merged commit 4610109 into subquery:main Jan 6, 2022
bz888 pushed a commit that referenced this pull request Jun 3, 2022
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