-
Notifications
You must be signed in to change notification settings - Fork 245
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
codegen: Generate type aliases for better API ergonomics #1249
Commits on Nov 8, 2023
-
codegen: Generate type alias for storage return types
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 0be80cc - Browse repository at this point
Copy the full SHA 0be80ccView commit details -
codegen: Generate type alias for call function arguments
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for f522e5a - Browse repository at this point
Copy the full SHA f522e5aView commit details -
testing: Update polkadot.rs code from commit 2e2a75f
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for d050859 - Browse repository at this point
Copy the full SHA d050859View commit details -
codegen: Type aliases for runtime API parameters
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for bd8f602 - Browse repository at this point
Copy the full SHA bd8f602View commit details -
codegen: Type alias for runtime apis output
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for bfa70d1 - Browse repository at this point
Copy the full SHA bfa70d1View commit details -
storage: Change path of the aliased module
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for c5dff9b - Browse repository at this point
Copy the full SHA c5dff9bView commit details
Commits on Nov 9, 2023
-
codegen: Adjust module indentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for c6bb349 - Browse repository at this point
Copy the full SHA c6bb349View commit details -
codegen: Do not alias for api::runtime_types with unresolved generics
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 10fdc75 - Browse repository at this point
Copy the full SHA 10fdc75View commit details -
codegen: Fix and document runtime API alias generation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8008665 - Browse repository at this point
Copy the full SHA 8008665View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2bd89d4 - Browse repository at this point
Copy the full SHA 2bd89d4View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a777163 - Browse repository at this point
Copy the full SHA a777163View commit details -
codegen: Generate composite structs with alias unnamed fields
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 977b4fb - Browse repository at this point
Copy the full SHA 977b4fbView commit details -
testing: Update polkadot.rs file
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for e353f16 - Browse repository at this point
Copy the full SHA e353f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a316b0 - Browse repository at this point
Copy the full SHA 0a316b0View commit details -
codegen: Alias storage unnamed parameters
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 0798ad9 - Browse repository at this point
Copy the full SHA 0798ad9View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b9398dd - Browse repository at this point
Copy the full SHA b9398ddView commit details -
examples: Change polkadot to rococo runtime
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8c51c2a - Browse repository at this point
Copy the full SHA 8c51c2aView commit details -
codegen: Fix compiling tests in the codegen crate
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 3ccb99f - Browse repository at this point
Copy the full SHA 3ccb99fView commit details -
codegen: Extend storage test with alias module
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 354704e - Browse repository at this point
Copy the full SHA 354704eView commit details -
cli/tests: Adjust exepcted commands to the latest metadata
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8761283 - Browse repository at this point
Copy the full SHA 8761283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d9175 - Browse repository at this point
Copy the full SHA 43d9175View commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c408e97 - Browse repository at this point
Copy the full SHA c408e97View commit details -
codegen: Remove missleading comment and docs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 6ec86d9 - Browse repository at this point
Copy the full SHA 6ec86d9View commit details -
codegen: Ensure unique names for generated runtime API types
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 17bdaeb - Browse repository at this point
Copy the full SHA 17bdaebView commit details -
codegen/tests: Test expected runtime type generation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b8425b9 - Browse repository at this point
Copy the full SHA b8425b9View commit details -
codegen/tests: Check duplicate params in runtime APIs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 1588869 - Browse repository at this point
Copy the full SHA 1588869View commit details -
codegen/tests: Test colliding names of type aliases and parameters
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for ab105eb - Browse repository at this point
Copy the full SHA ab105ebView commit details
Commits on Nov 22, 2023
-
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4bf9ac5 - Browse repository at this point
Copy the full SHA 4bf9ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a9f834 - Browse repository at this point
Copy the full SHA 5a9f834View commit details
Commits on Nov 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6142e2f - Browse repository at this point
Copy the full SHA 6142e2fView commit details
Commits on Dec 7, 2023
-
codegen: Separate alias module from struct definition
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4352c01 - Browse repository at this point
Copy the full SHA 4352c01View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for d65be15 - Browse repository at this point
Copy the full SHA d65be15View commit details
Commits on Dec 8, 2023
-
codegen: Remove outdated docs from composite def
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4c0c9f3 - Browse repository at this point
Copy the full SHA 4c0c9f3View commit details