On Tue, Jan 24, 2023 at 6:11 PM Carlo Contavalli
wrote:
> Hello,
>
> On Tue, Jan 24, 2023 at 1:10 PM Kenton Varda
> wrote:
>
>> You mean SchemaLoader::getType(), right?
>>
>
> Correct.
>
>
>> case schema::Type::LIST:
>> return ListSchema::of(getType(proto.getList().getElementType(), scope));
>>
Hello,
On Tue, Jan 24, 2023 at 1:10 PM Kenton Varda wrote:
> You mean SchemaLoader::getType(), right?
>
Correct.
> case schema::Type::LIST:
> return ListSchema::of(getType(proto.getList().getElementType(), scope));
>
> So the returned type should not lose the fact that the type represents a
>
Hi Carlo,
It seems like you've figured out what everything represents and than you
need to use SchemaLoader here. I'm not sure I understand the problem you're
getting at.
On Sat, Jan 21, 2023 at 11:30 AM Carlo Contavalli
wrote:
> I see I can use SchemaLoader.get() to get a capnp::Type out of a