Can I use a custom Play filter in Lagom?

Hello:

I have a custom Play Framework filter that works perfectly fine in Play. Trying to use it in Lagom. Can’t get it to work.

I added the Play filters module to the project:

lazy val `lagom-filter-demo-impl` = (project in file("lagom-filter-demo-impl"))
  .enablePlugins(LagomScala)
  .settings(
    libraryDependencies ++= Seq(
      lagomScaladslTestKit,
      lagomScaladslCluster,
      lagomScaladslAkkaDiscovery,
      kubernetesDiscovery,
      filters,
      macwire,
      scalaTest
    )
  )
  .settings(lagomForkedTestSettings)
  .dependsOn(`lagom-filter-demo-api`, `my-custom-filter`)

And added it to the configuration (application.conf):

play.filters.enabled += "com.my.custom.filter.MyCustomFilter"

When I run the application, I do not get the expected filter effect. The app runs as though the filter was never used.

Filter based on Play 2.8.7 and using Lagom 1.6.5.

Need some guidance on whether this is possible (seems like it should be) and, if it is, what I am missing.

Thanks,
Steve