support constant "build time" inserts into a list

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • Developer Tools

      This code snippet:

       
      final List<Bson> filters = new ArrayList<>();
      filters.add(eq(id));
       
      Can be known at compile time in the same way we do with Lists.of.

            Assignee:
            Unassigned
            Reporter:
            Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: