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

Improve encoding layer #1167

Merged
merged 10 commits into from
Dec 15, 2021
Merged

Improve encoding layer #1167

merged 10 commits into from
Dec 15, 2021

Commits on Dec 11, 2021

  1. feat(encoding)!: accept a map in the decoder interface

    This interface is specific to decoding data into Viper's internal,
    so it's okay to make it Viper specific.
    
    BREAKING CHANGE: the decoder interface now accepts a map instead of an
    interface
    
    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    f793e03 View commit details
    Browse the repository at this point in the history
  2. feat(encoding)!: accept a map in the encoder interface

    This interface is specific to encoding data from Viper's internal,
    so it's okay to make it Viper specific.
    
    BREAKING CHANGE: the encoder interface now accepts a map instead of an interface
    
    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    6980ee0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a4e72c View commit details
    Browse the repository at this point in the history
  4. feat(encoding): add ini codec

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    12057d1 View commit details
    Browse the repository at this point in the history
  5. refactor(encoding): initialize codecs per Viper

    Some codecs might have options that rely on Viper in the future
    (eg. key delimiter) which requires initializing codecs
    for each Viper instance.
    
    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    9a19bc4 View commit details
    Browse the repository at this point in the history
  6. feat(encoding): integrate ini codec into Viper

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    e32369a View commit details
    Browse the repository at this point in the history
  7. feat(encoding): add Java properties codec

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    bf47652 View commit details
    Browse the repository at this point in the history
  8. feat(encoding): integrate Java properties codec into Viper

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    fb6c678 View commit details
    Browse the repository at this point in the history
  9. feat(encoding): add dotenv codec

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    9aa08ab View commit details
    Browse the repository at this point in the history
  10. feat(encoding): integrate dotenv codec into Viper

    Signed-off-by: Mark Sagi-Kazar <[email protected]>
    sagikazarmark committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    aa10a08 View commit details
    Browse the repository at this point in the history