score:0
so by the time you get to your pattern match on passwordinfo its no longer a bsondocument because of the call to one. you have in scope your userformat for the type passwordinfo which provides the implicit reader to the method one and which returns the future[option[passwordinfo]] to your val passwordinfo.
this is why your error appears:
[error] /reactivemongo-silhouette-rest/app/models/daos/passwordinfodao.scala:83: value getastry is not a member of com.mohiva.play.silhouette.api.util.passwordinfo [error]
because you already have your type [passwordinfo] and its not a reactivemongo type like bsondocument which has getastry defined.
i can't fully determine your return type but hopefully this helps.
Source: stackoverflow.com
Related Query
- Reactivemongo getAsTry is not a member of PasswordInfo
- reactivemongo - value connection is not a member of object reactivemongo.api.MongoDriver
- Scala import not working - object <name> is not a member of package, sbt preppends current package namespace in imports
- “value $ is not a member of StringContext” - Missing Scala plugin?
- scalac compile yields "object apache is not a member of package org"
- "object index is not a member of package views.html" when opening scala play project in scala ide
- Play error: value and is not a member of play.api.libs.json
- scalatest : object scalatest is not a member of package org
- Spark - "sbt package" - "value $ is not a member of StringContext" - Missing Scala plugin?
- Why is my object not a member of package <root> if it's in a separate source file?
- Scala Java Error: value filter is not a member of java.util.Map. Works outside of class
- Play Framework For Scala: Compilation error[type Application is not a member of package controllers]
- object xml is not a member of package scala
- sbt test:doc Could not find any member to link
- Scala-Cats Validated: value mapN is not a member of ValidatedNel tuple
- Error: value seq is not a member of object slick.dbio.DBIO
- Gatling-Value baseURL is not a member of io.gatling.http.protocol.HttpProtocolBuilder
- Play2 form attributes with - in them "value - is not a member of Symbol"
- Error in running Spark in Intellij : "object apache is not a member of package org"
- Play 2.0 form - field "verifying" method is not a member
- Object spark is not a member of package org
- spark - scala: not a member of org.apache.spark.sql.Row
- (Spark) object {name} is not a member of package org.apache.spark.ml
- value reduceByKey is not a member of org.apache.spark.rdd.RDD
- value isBlank is not a member of String
- Scala Compilation Error : Value += is not member of Int
- scala.reflect.internal.FatalError: package scala does not have a member Int
- Scala error: value sort is not a member of List
- scala value toInt is not a member of Any
- Scala: value :: is not a member of Int
More Query from same tag
- Mixing Scala and Java on Wicket
- Combinators for A => Option[A] in Scala
- How to check if a lazy val is initialized without initializing it?
- Why this code print both "initialization1" and "initialization2",but only 1 doAction?
- scala list addall method
- How to load a scala file in the sbt console?
- Scala macros: Check if symbol/type is Tuple
- Does Scala Future[T] block internally? What happens inside Scala Future?
- reassignment to val while initializing in primary constructor
- create an sbt project in intelliJ 2018.1.4
- Convert Boolean to Validated[List[String], Unit]
- Easiest way to search replace with regex groups in Scala
- Spark Task not Serializable with simple accumulator?
- Early initializer `new {} with SomeTrait` fails
- Assign a underscore to a variable. What is the underscore doing?
- Scala Parser - Message Length
- Scala closure always loses value
- How does the Scala toSeq:_* syntax work?
- Scala match in equals method
- Referring the same element in underscore notation
- Scala macro for shortcut
- 'not found' error but the function is defined
- A good way to check various Option objects in Scala
- Spark/Scala Opening Zipped CSV Files
- Why print() has side effects?
- type parameter with underlying type in - Scala
- com.impetus.kundera.query.QueryHandlerException: No entity found by the name: <EntityName>
- best use cases for existential type
- How to compare attribute values from different classes?
- Squeryl utf8mb4 support