Skip to content
Discussion options

You must be logged in to vote

Ah you need to wrap the whole opts table for codecompanion into a function that returns your opts table, so that the loading is delayed to when it's needed. Your current code loads the module at the very beginning, which defeats the purpose of lazy loading.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@blankenshipz
Comment options

@Davidyz
Comment options

Answer selected by blankenshipz
@Davidyz
Comment options

@blankenshipz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants