Fix #327.
This commit is contained in:
parent
a43432d530
commit
5097832539
|
@ -327,8 +327,8 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns SDL(Schema Definition Language) of this schema.
|
/// Returns SDL(Schema Definition Language) of this schema.
|
||||||
pub fn sdl() -> String {
|
pub fn sdl(&self) -> String {
|
||||||
Self::create_registry().export_sdl(false)
|
self.0.env.registry.export_sdl(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get all names in this schema
|
/// Get all names in this schema
|
||||||
|
|
Loading…
Reference in New Issue
Block a user