Commit 392bb480 authored by Emmanuel Raviart's avatar Emmanuel Raviart

Add "provenance organe" to "DepotInitiativeNavette".

parent d2883daf
Pipeline #101941 passed with stage
in 2 minutes and 20 seconds
......@@ -1450,7 +1450,12 @@ graphql_object!(DepotInitiativeNavette: Context |&self| {
Some(self.organe_ref.as_str())
}
field provenance() -> &str {
field provenance(&executor) -> Option<&Organe> {
let context = &executor.context();
context.get_organe_at_uid(&self.provenance)
}
field provenance_ref() -> &str {
&self.provenance
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment