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

Add assemblyscript configuration in subgraph; fixed bug in handlePoolDetailsChanged; various requested changes #63

Closed
wants to merge 2 commits into from

Conversation

krisbitney
Copy link
Collaborator

@krisbitney krisbitney commented Dec 23, 2023

incorporates changes requested in #60 (review)

@krisbitney krisbitney changed the title Add tsconfig for proper assemblyscript configuration in subgraph package Add assemblyscript configuration in subgraph and fixed bug in handlePoolDetailsChanged Dec 23, 2023
Comment on lines +1 to +6
{
"extends": "assemblyscript/std/assembly.json",
"include": [
"./src/**/*.ts",
],
}
Copy link
Contributor

Choose a reason for hiding this comment

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

why is that needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Your IDE won't confuse TypeScript types and AssemblyScript types. For example,i32 is a valid AssemblyScript primitive but number is not. Please review the Telegram conversation for more context.

@krisbitney krisbitney mentioned this pull request Dec 24, 2023
@krisbitney krisbitney changed the title Add assemblyscript configuration in subgraph and fixed bug in handlePoolDetailsChanged Add assemblyscript configuration in subgraph; fixed bug in handlePoolDetailsChanged; various requested changes Dec 24, 2023
@krisbitney
Copy link
Collaborator Author

replaced by #64

@krisbitney krisbitney closed this Dec 24, 2023
@krisbitney krisbitney deleted the kris/as-config branch December 24, 2023 10:53
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