Hello. I have the following schema:
type A {
a
}
type B {
b
}
type C {
c
}
And directives:
b: uid .
c: [uid] .
I want to:
- have one-to-one edges between the nodes of type B and type A
- have one-to-many edges between the nodes of type C and type B.
When I try to add types to fields via schema file inside type definitions in the following way:
type B {
b: A
}
type C {
c: [B]
}
I get the following responses in the console:
Type declaration for type **B** includes deprecated information about field type for field **b** which will be ignored.
Type declaration for type **C** includes deprecated information about field type for field **c** which will be ignored.
Moreover, for some reason in ratel b and c are said to have type [C].
When I try to change field types manually in Ratel, it ignores my changes and brings b and c back to type [C].
A and B-typed nodes both have a “uid” field before an upload.
How do I set types correctly in order to get what is described in 1) and 2) ?