question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

integer and float configs are not passed in laconia context

See original GitHub issue

Describe the bug Float and Integer configs are not included in laconia context.

To Reproduce In lambda environment, I defined LACONIA_CONFIG_KEY_EXPIRATION: integer:10000,

const instance = ({ keyExpiration }) => ({
    myService: new MyService(keyExpiration)
})

const _handler = laconia(apig(app))
  .register(envVarInstances())
  .register(instance)

Expected behavior keyExpiration should be available in laconia context

Actual behavior keyExpiration is not in laconia context

Additional context IntegerConfigConverter and FloatConfigConverter are not registered in EnvVarConfigFactory

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
reestoloniocommented, Aug 31, 2020

PR is in #638

1reaction
reestoloniocommented, Aug 29, 2020

I can submit a PR for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

config - Laconia
"" (empty value). With integer and float config variables, the passed values will be parsed if possible, otherwise NaN will be returned.
Read more >
Untitled
Phpunit command not found laravel, Tamil rare bit songs download, ... Alpha sigma nu georgetown university, Laconia new hampshire police department, ...
Read more >
pYf - River Thames Conditions - Environment Agency - GOV.UK
Ela tem 19 e representa, Jarmark szamocin 2012, Edith piaf lyrics no regrets, ... Cracka killa, Ingiltere premier lig golleri, Weirs beach laconia...
Read more >
Dxe - EVOLVE - eduFOCUS
#pixel No mood swings birth control, Convert date to date format php, ... Cr v lowering springs, Earthquake in grants pass 2014, Fuji...
Read more >
2023 Toyota Camry - Irwin Toyota
in Laconia, NH ... Floating Multimedia Display ... please note that all information, including but not limited to pricing and vehicle status, is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found