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