Skip to content
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

fix: check if Decimal is loaded in encoder #135

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

davidjulien
Copy link
Contributor

If Decimal is not included in the main app depending on LoggerJSON, the following line in LoggerJSON.Formatter.RedactorEncoder is not included:

    def encode(%Decimal{} = decimal, _redactors), do: decimal

If Decimal is not included in the main app depending on LoggerJSON,
the following line in `LoggerJSON.Formatter.RedactorEncoder` is not included:

```elixir
    def encode(%Decimal{} = decimal, _redactors), do: decimal
```
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling 8ff1b1a on davidjulien:check-if-decimal-is-compiled
into 1371032 on Nebo15:master.

@davidjulien davidjulien changed the title fix: check if Decimal is compiled in encoder fix: check if Decimal is loaded in encoder Sep 16, 2024
@AndrewDryga AndrewDryga merged commit 99f2fa7 into Nebo15:master Sep 16, 2024
4 checks passed
@AndrewDryga
Copy link
Member

Good catch, thank you ❤️.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants