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

Can we simplify some of the references to generated types, so it's easier to name them? #1242

Closed
jsdw opened this issue Nov 3, 2023 · 1 comment
Assignees

Comments

@jsdw
Copy link
Collaborator

jsdw commented Nov 3, 2023

See for example this code:

https://github.com/lovelaced/polkadot-locks-report/blob/21845912f785dea014599940820a9dc922c9477a/src/main.rs#L566

Let's have a go at taking this code and seeing how we can simplify the types! Maybe we can simplify them, in which case it might be good to show this in our examples a bit better, or maybe we can't and we can tweak the codegen to expose type aliases for the return types of known queries (@lexnv I know you had this idea at some point)!

@lexnv lexnv self-assigned this Nov 6, 2023
@lexnv
Copy link
Collaborator

lexnv commented Jan 29, 2024

Closed by #1249

@lexnv lexnv closed this as completed Jan 29, 2024
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

No branches or pull requests

2 participants