This commit is contained in:
Sunli 2020-10-28 09:39:19 +08:00
parent a43432d530
commit 5097832539

View File

@ -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