From 7095c55af5dc2320db4ccb809c8f4e69e4dff77d Mon Sep 17 00:00:00 2001 From: Maxime Arthaud Date: Mon, 10 Jul 2023 15:18:21 -0700 Subject: [PATCH] Add comment about unifying model files and model generator files Summary: As titled. Reviewed By: anwesht Differential Revision: D47347898 fbshipit-source-id: 905f5d4cccc027f40a850228491dc11ce361b8e8 --- source/Registry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Registry.cpp b/source/Registry.cpp index f693cbaf..0fb55dad 100644 --- a/source/Registry.cpp +++ b/source/Registry.cpp @@ -73,6 +73,9 @@ Registry Registry::load( // Create a registry with the generated models Registry registry(context, generated_models, generated_field_models); + // TODO(T157984454): We should unify the loading of models from files and + // loading model generators, so we can use unique "model generator" names. + // Load models json input for (const auto& models_path : options.models_paths()) { registry.join_with(Registry(