These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
dry-systemwith protobuf generated classes. i've added the directory with the protobuf generated files to
load_pathsbut i don't seem to be able to inherit from those classes.
dry-systemforce you to manually require any files that contain superclasses to your current class?
handlefunction. i'd like to do this in the
bootcallback for the
grpc_serverthat i've added to the container.
bootcallback rely on one of these autoregistered classes, it seems
namefor much. But it’ll be handy once we add more instrumentation/logging.
.new) then dry-system will handle that accordingly
require "app/my_thing"and it should work
require "my_app/import"and that thing pulls in the container
ah, yes, i'm just inlining import App.injector
this creates a new import module all over again, so it'd be better to define it once, in a file that requires container
systemis just the default name for
config.system_dir, you can call it whatever you like
libif i prefer?