-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Filipe/substreams option runtime #3766
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
Conversation
440277d to
3d977af
Compare
|
Why isn't it sufficient to use a fake |
|
Hmm I see that replacing the |
This way is also more explicit and requires less "hacks" IMO |
9b5a65b to
fe0f9c1
Compare
fe0f9c1 to
0786f72
Compare
graph/src/data/subgraph/mod.rs
Outdated
| .map(|template| template.runtime()) | ||
| .chain(self.data_sources.iter().map(|source| source.runtime())) | ||
| .filter_map(|template| template.runtime()) | ||
| .chain(ds_runtimes.into_iter()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be kept as it was before, just with filter_map instead of map.
2bdfe51 to
e58839c
Compare
e58839c to
5024c4c
Compare
No description provided.