error: Unrecognized primitive type: "generic T".
--> src/lib.rs:5:1
|
5 | #[indexer(manifest = "/usr/home/auction-index/auction_index.manifest.yaml")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `indexer` (in Nightly builds, run with -Z macro-backtrace for more info)
@Ahimasjason The indexer doesn’t currently support the Generic Sway type. We’ll investigate what’s necessary to pull this off and add it to our roadmap. Cheers!
@Ahimasjason Could you open an issue in the repository for this? I don’t think (off the top of my head) this would be a heavy lift (re: adding support for this).
But if you open an issue be sure to include your ABI JSON. It might also be helpful to comment in the issue about how you plan to save this generic struct – i.e., Are you just saving a regular GraphQL schema type? Or trying to do something fancy? The more info the more helpful for us.