You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the benefits of wrapping the custom derive in a const is that we can re-import the appropriate elastic_types/elastic crate and give it an alias even if the user has imported it under a different name.
This should be a simple matter of splitting the crate_root parameter into krate and path, so we can:
const _IMPL_BLAH:() = {externcrate $krate as _derive;impl _derive::$path::DocumentTypeforBlah{}};
The text was updated successfully, but these errors were encountered:
One of the benefits of wrapping the custom derive in a
const
is that we can re-import the appropriateelastic_types
/elastic
crate and give it an alias even if the user has imported it under a different name.This should be a simple matter of splitting the
crate_root
parameter intokrate
andpath
, so we can:The text was updated successfully, but these errors were encountered: