oolong-dev / OpenTelemetry.jl

An unofficial implementation of OpenTelemetry in Julia.
https://oolong.dev/OpenTelemetry.jl/
Apache License 2.0
30 stars 9 forks source link

Turn `immutable` structs with `Ref` fields into `mutable` #81

Open findmyway opened 1 year ago

findmyway commented 1 year ago

The motivation was to avoid modifying some fields. Given that since julia@v1.8, we can mark immutable fields in a mutable struct with const, better to turn those into mutable not.

Ref: