Custom feeder that uses standard feeder strategies

I want a feeder that takes a list of ids returned by a rest call before the simulation starts, but I want it to be able to use the standard “circular” strategy.
If I have a list, say something as simple as:
val candidateIds:List[Integer] = List(1, 2, 3)

What would the syntax be to iterate through the ids and still be able to use “circular”?
Thanks!

I am using Gatling 3.4.

Our strategies work on feeders, hence iterators/sequences of Map[String, Any], not sequences of any type (Int in your example), eg:
https://github.com/gatling/gatling/blob/master/gatling-core/src/test/scala/io/gatling/core/compile/CoreCompileTest.scala#L59

Thanks. I just got it working with this:
val candidateFeeder = candidateIds.map(id => Map[String, Integer](“candidateId” → id)).toArray.circular