-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix downcast_raw error when using with_span_field_formatter (#15)
with_span_field_formatter changes the generic types of the returned `Self`, so it's not valid to pass through `self.get_context`; we instead need to refetch `get_context` based on the new type. added a unit tests that validates this works.
- Loading branch information
1 parent
c70d4e8
commit bf36bcc
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters