jfecher / jfecher/inc-complete

Derive macro for input doesn't support any output type

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Rust
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

We'd like to support the following code:
```rs
#[derive(Clone, Input)]
#[inc_complete(id = 20, output = Arc, storage = MyStorage)]
pub struct GetCrateGraph;
```
But we get an error because we seem to be parsing an expression instead of a type:
```rs
error: comparison operators cannot be chained
--> src/incremental.rs:128:48
|
128 | #[inc_complete(id = 20, output = Arc, storage = DbStorage)]
| ^
```
We should support any type in this position.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.