According to this RFC this functionality is available on the GQL spec.
Can we reopen this to track support by dgraph?
To give some more context why this should be important:
interface Timestamped {
createdAt: DateTime! @search
}
type Foo implements Timestamped {
bar: String!
}
using this schema I can filter all Foos by there createdAt Timestamp without issues. When I now want to add a 2nd abstraction layer with the current limitations:
interface Timestamped {
createdAt: DateTime! @search
}
interface FooInterface {
bar: String!
}
type Foo implements Timestamped & FooInterface {
hi: String!
}
I cannot filter anymore by the createdAt timestamp (which is of course expected).
Of course I could work around this by using:
interface Timestamped {
createdAt: DateTime! @search
}
interface FooInterface {
createdAt: DateTime! @search
bar: String!
}
type Foo implements FooInterface {
hi: String!
}
But then I loose the ability to query all Foos with queryTimestamped.