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.

Scala3doc: No DRI found for query

See original GitHub issue

Compiler version

3.1.0

Minimized code

The trait Config has docs that point to ConfigValue.

* <p>
 * Convert a <code>Config</code> to a JSON or HOCON string by calling
 * [[#root root]] to get the [[ConfigObject]] and then call
 * [[ConfigValue!.render:String* render]]
 * on the root object, <code>myConfig.root.render</code>. There's also a variant
 * [[ConfigValue!.render(options:org\.ekrich\.config\.ConfigRenderOptions)* render(ConfigRenderOptions)]]
 * inherited from [[ConfigValue]] which allows you to control
 * the format of the rendered string. (See {@link ConfigRenderOptions}.) Note
 * that <code>Config</code> does not remember the formatting of the original
 * file, so if you load, modify, and re-save a config file, it will be
 * substantially reformatted.

Here is the generated docs: https://www.javadoc.io/doc/org.ekrich/sconfig_3/latest/index.html#org.ekrich.config.Config

Output

[info] Main Scala API documentation to /Users/eric/workspace/sconfig/sconfig/jvm/target/scala-3.1.0/api… [info] Skipping unused scalacOptions: -deprecation, -feature [warn] – Warning: sconfig/shared/src/main/scala/org/ekrich/config/Config.scala:171:6 - [warn] 171 |trait Config extends ConfigMergeable { [warn] | ^ [warn] | No DRI found for query: ConfigValue!.render:String* [warn] one warning found [info] Main Scala API documentation successful.

Expectation

Works as it did in older versions. See https://www.javadoc.io/doc/org.ekrich/sconfig_2.11/latest/index.html#org.ekrich.config.Config

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pikinier20commented, Jan 10, 2022

This problem is related to: #11119 We don’t support method overloading in our member lookup like the old Scaladoc does. This bug shows that our query parser is also not 100% compliant with the old parser. I think this problem should be resolved together with method overloading support.

0reactions
pikinier20commented, Sep 20, 2022

@ekrich The problem with overloads is that it’s not supported by the query parser which was rewritten in Scaladoc 3. So, we are always picking the same method ignoring the overload. See: https://github.com/lampepfl/dotty/issues/11119

The rewrite was necessary since the parser in Scaladoc 2 was very much coupled with the Scaladoc’s internals and it wasn’t an easy task to port it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Type-based search | Scaladoc
In order for a scaladoc searchbar query to be searched using Inkuire instead of the default search engine, the query has to contain...
Read more >
API - pygeoapi 0.14.dev0 documentation
Returns a tuple of (raw default, default locale) if not found. ... If no “lang” query parameter or Accept-Language header was found, None...
Read more >
3.2.6. devices/users get-by-saved-query - Axonius API Client
Valid Name · 3.2.6.2.3. Tag/Untag Assets Found In Query ... Get assets using a saved query. ... Value to use for fields that...
Read more >
Query Builder | Sentry Documentation
This can also be found in other parts of Sentry as a top level filter. Filter by Search Conditions. All events have built-in...
Read more >
Scala API client for Search | Algolia
1​​client.execute { 2 search into "myIndex" query Query( 3 query = Some("query string"), 4 attributesToRetrieve = Some(Seq("firstname", "lastname")), ...
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