Closed deuszx closed 4 months ago
https://github.com/subsquid/squid-sdk/pull/190 Should be fixed when this PR will be merged @eldargab
This PR has been opened since July last year.
I know, just anyone hasn't asked for this before, but if you need it, we can merge it.
I don't know if that PR solves the issue I'm facing, if it does - great. Also, I'm not very familiar with TypeORM so I was open to some discussions if needed, whether it makes sense at all.
Describe the bug Given an entity spec:
it generates an object:
As you can see, it tries to import
NativeTokenBalance
but does not use it at all.To Reproduce Steps to reproduce the behavior:
schema.graphl
npx squid-typeorm-codegen
Expected behavior It is expected that the
Account
model includes the nullable field ofnativeTokenBalance
.Environment (please complete the following information):