rename readResources
, writeResources
to parseResources
, serializeResources
#437
-
ProblemRead and write resources in the config schema imply a filesystem dependency which leads to confusion #395 (reply in thread). ProposalRename Under the hood, resources are parsed and serialized. In every call, I explain inlang's AST architecture that requires the parsing and serialization of resources. Renaming the properties, hopefully, clarifies how inlang works.
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
Sounds good. You mention migration. We should create a general plan how to deal with them. In my opinion this is a separate task outside of the scope of this refactoring. |
Beta Was this translation helpful? Give feedback.
-
Any update on this? |
Beta Was this translation helpful? Give feedback.
-
I would just leave If we agree this needs to be done, then every potential breaking change should be done as early as possible. |
Beta Was this translation helpful? Give feedback.
-
We probably should also add support for parsing a single Resource within this refactor |
Beta Was this translation helpful? Give feedback.
-
Sounds good guys, i also think that reading single resources could become pretty handy in the future. On the other hand I would suggest to always think about that it should stay easy to create plugins. If it will be required to ship 5 functions and pass all the tests it could become hard to quickly develop own plugins. |
Beta Was this translation helpful? Give feedback.
-
Closing because unimportant. |
Beta Was this translation helpful? Give feedback.
Closing because unimportant.