Skip to content

Commit

Permalink
Adding more details about the executor.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflav23 authored Mar 27, 2017
1 parent 10eaf94 commit ad75a93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ CassandraConnector`.
- `Database` now requires an f-bounded type argument: `class MyDb(override val connector: CassandraConnection) extends Database[MyDb](connector)`.
- Automated Cassandra pagination via paging states has been moved to a new method called `paginateRecord`. Using `fetchRecord` with a `PagingState` is no longer possible.
This is done to distinguish the underlying consumer mechanism of parsing and fetching records from Cassandra.
- `com.outworkers.phantom.dsl.context` should be used instead of `scala.concurrent.ExecutionContext.Implicits.global`.
- `com.outworkers.phantom.dsl.context` should be used instead of `scala.concurrent.ExecutionContext.Implicits.global`. This now has the type `ExecutionContextExecutor` which allows us to use the same context for both Scala and Java futures(which are used internally as part of the Datastax Java driver).


#### You can remove manual `fromRow` method definitions
Expand Down Expand Up @@ -151,4 +151,4 @@ abstract class MyTable extends CassandraTable[MyTable, Record] {
}
}

```
```

0 comments on commit ad75a93

Please sign in to comment.