-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor import logic #29
base: develop
Are you sure you want to change the base?
Refactor import logic #29
Conversation
Instead of looping through the directory and dynamically importing the modules, a new index file is added to the commands directory that re-exports all the commands. Then, only that index file is imported in the client
Hola! Hace varios dias que se inicio este PR y no me gusta tenerlo colgado. Para poder avanzar y que esto no se estanque vamos a hacer lo siguiente:
Desde ya, gracias por el trabajo, en lo posible dentro de la semana voy a intentar de poder concluir este PR. |
Pido disculpas por el cambio repentino de curso, clonando el repo y analizando el PR en profundidad, note que todavia se presentan varios problemas, y varios importantes:
Esto proviene del hecho que todos los
Los puntos 1. y 3. son de facil solucion, pero lo que queda ver es como solucionar el punto 2. Si podes resolver estos temas @mFragaBA, despues me encargo de seguir con vos la aprobacion del PR. |
Como ultima nota, este PR busca mergear a |
Create an index file for each submodule that re-exports everything in the directory. This simplifies the code in the client a bit, and avoids using
require
in the middle of the Client initialization.