Allow trait bounds to be overridden in macro (#808)
* Parse user defined client_bounds and server_bounds Signed-off-by:Alexandru Vasile <alexandru.vasile@parity.io> * Use custom user defined bounds if provided Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Add provided where clause to the custom bounds Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Add proc_macro with bounds example Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Check against client_bounds wihtout client implementation Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * tests: Add ui test for empty bounds Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * tests: Add ui test to check bounds without implementation Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Add bounds documentation Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * rpc_macro: Remove `WherePredicate` from parsing Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ui: Add test that compiles Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Rename rendered `T` to avoid collision with user provided generic Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * tests: Modify UI correct rpc_bounds test to call server's methods Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io>
Please register or sign in to comment