-
We might be doing something wrong here, but basically we have our schemas under a certain namespace (e.g. The auto-generated Ruby class gets placed alongside the schema file, but the only module in the file is module Schemas. The solution here would be to either include the schema namespace in the ruby file modules, or create the ruby file in the root (specified in the Deimos config). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I actually haven't used this feature much myself yet as it's relatively new and was contributed by a coworker. @DeeChau can you weigh in on this question? |
Beta Was this translation helpful? Give feedback.
-
Sure thing @dorner, Hey @iMacTia, generated schema classes are generated under
Can you provide me with the
I considered including the schema namespace in the ruby file modifiers during development and it is possible. As for creating the ruby file in the root, do you mean at the |
Beta Was this translation helpful? Give feedback.
Sure thing @dorner,
Hey @iMacTia, generated schema classes are generated under
Deimos.config.schema.generated_class_path
which defaults to the pathapp/lib/schema_classes
, so the nested folder structureorg/company/my_schemas
are be created with that in mind.Can you provide me with the
config.schema.generated_class_path
andconfig.schema.path
to help me understand where these are located?I considered inclu…