this is what I’m doing. The data gets inserted but I just can’t query by type. With queries that don’t require a type I’m able to retrieve all data. Maybe I’m missing something on the type schema ? But the type is actually in there, the Ratle interface lets me auto-complete with it.
To retrieve all nodes of a certain type and expand all their fields, you can use the following query
{
nodes(func: has(DummyType)) {
expand(_all_)
}
}
This query will return all nodes that have the type DummyType and expand all fields for each of these nodes. Replace DummyType with the actual type you want to query.