-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat(1115): flipping nfts #88
Conversation
KngZhi
commented
May 23, 2022
- feat: model of flipping nft
- feat: resolver
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.
noice
import { Field, ObjectType } from 'type-graphql'; | ||
|
||
@ObjectType() | ||
export class FlippingNFT { |
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.
may a bit better name?
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.
Maybe I should change all those Flipping
to MostTraded
?
As I have nothing specific for this PR. The computation on the DB is overkill. |
I'm lacking context here. Generally plain database queries are of course better unless it becomes expensive. |
Hey @KngZhi we had some issues with a subsquid node that was unable to process. With your PR I have a feeling that we can buy a ⚰️ for the processor. What are the next steps:
|
okay, I would alter that ASAP. |
Hey @vikiival, after I checked with kodadot/nft-gallery#87 I kind of feel it is unable to do so. Some fields have relied on the previous query results, there are two sequenced queries. |
@KngZhi what's the status of this PR? we have now two PRs (this one and kodadot/nft-gallery#3063) which are 3 weeks old and still open 😢 |
I wont merge this as resolver. We are already running out of memory and this is simply overkill |