-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deserialize Vec of Accounts #69
Comments
Trying to start with this good first issue. |
Looks great. Let's add a test. |
The remaining work here is to allow one to use |
Hi, I was wondering where the derive(Accounts) for the Vec was coming/ if any help was wanted (as I need it for my current project). I was also wondering which trait's need to be implemented in order to get Vec working in the derive. Currently, the error returned is just use of undeclared crate or module |
The reason for this error is due to the fact that it is treating the Vec as a composite field (Account<'info, SomeAccount>). Which I don't think is the result we want am I right @armaniferrante? |
Any progress on this issue? Anything we could do to hammer it out? |
Consider implementing the
Accounts
trait forVec
, where all accounts in the&[AccountInfo]
slice are consumed and deserialized into the vec.The text was updated successfully, but these errors were encountered: