-
Notifications
You must be signed in to change notification settings - Fork 226
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
ListInputType[T]
extending InputType[Seq[T]]
#979
Comments
ListInputType[T]
extending InputType[Seq[T]]
|
Sure, no problem, I'll try working on it this week ! |
So I just started working on it, unfortunately it might no be very straightforward, maybe I'm having the wrong approach here but it seems that we would also need an update of the toInput: ToInput[Default, _],
fromInput: FromInput[T],
res: ArgumentType[T] But the trait class SeqFromInput[T](delegate: FromInput[T]) extends FromInput[Seq[T]] I don't mind giving a try at changing all that to Iterable, but I guess that could be bothersome to release, as it would need to rely first on a new version the the marshalling api that has the new implicit. It would also probably be quite a lot of changes. |
Indeed, this could be a bit complex. If you have time / energy to go down the rabbit hole, I'll help you. For example, I can cut a beta release of sangria-marshalling-api with some changes of your if you want to test something. Otherwise you can publish locally, and use the snapshot version. But if you don't have the time / energy, I'll understand perfectly. |
I'll give it a try, but it might take me some time before coming out with something as there's quite a few projects I'm working on in parallel already, I'll give an update on whether I manage to deliver something or not here ! |
Hi, this is more of a question than an actual issue, but is there any reason as of why
ListInputType[T]
extendsInputType[Seq[T]]
while on the other hand,ListType[T]
extendsOutputType[Iterable[T]]
?I think having them both as Iterable would be nice !
The text was updated successfully, but these errors were encountered: