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.

expose conversion mechanism in API

See original GitHub issue

There are certain cases where a user of microprofile-config might want to convert a supplied string into different type using the same mechanism as a resolved property value. For example, when a fallback value for a particular usage point is available from a string supplier, but not appropriate to contribute as a formal config source.

I suggest adding the following method to org.eclipse.microprofile.config.Config:

<T> T convert(String value, Class<T> type);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
Emily-Jiangcommented, Jan 31, 2020

@emattheis If you check the due date on milestone, you will find out the target date. The release train is departing. As for last year, we spent a lot of time discussing dynamic aspect of Config and created APIs. However, this is a great fit for Quarkus, which is static. We then undid a lot of stuff. We now take everyone onboard and align with each other. As @radcortez said, we will get the Config 1.4 out and then discuss what we want to focus on 2.0 so that we won’t run into the same issue as last year. I understand your frustration. Hope we can move along faster after 1.4 release!

1reaction
radcortezcommented, Jan 31, 2020

I agree that at this time it is hard to include additional features to 1.4. Considering the amount of discussion and back and forward with the null issue, I see that this particular one going on the same path and unfortunately there is no time for it if we want to get something out.

I also agree that we need to have a more clear roadmap, so contributors are aware of the release plan so they are able to push and advocate for the features they need to be included in the release cycle.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expose a REST API - OutSystems 11 Documentation
Expose a REST API to allow other systems to retrieve or manipulate information. - OutSystems 11 Documentation.
Read more >
Can we expose REST service as a SOAP ... - TIBCO Community
Can we expose REST service as a SOAP service. So is there any conversion mechanism using TIBCO. Hello, I implemented a REST API...
Read more >
How to expose CICS transactions as REST APIs In 5 simple ...
Traditionally, it has been time consuming and complex to deliver CICS transactions and data as microservice-based APIs or serverless ...
Read more >
A Seven-Step Guide to API-First Integration - InfoQ
These are typically exposed through RESTful APIs. Enterprise data stored in various storage mechanisms, including RDBMS, files, spreadsheets, ...
Read more >
Controlling and managing access to a REST API in API Gateway
You can use the following mechanisms for authentication and authorization: Resource policies let you create resource-based policies to allow or deny access to ......
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