Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanstull committed Dec 28, 2022
1 parent a14d0c9 commit d9033f8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,22 @@ The purpose of this macro is to provide a quick, easy, readable/writable, and ef
| Null-safe navigator | ✔️ | ⚠️ | ⚠️ |
| Try-catch NPE | ✔️ | ✔️ | ⚠️ |
| Monocle Optional (lenses)| ✔️ | 💀 ||
| thoughtworks NullSafe DSL| ✔️ | ✔️ ||
| thoughtworks NullSafe DSL| ✔️ | ✔️ | |

Key: ✔️ = Good, ⚠️ = Sub-optimal, ⛔ = Bad
Key: ✔️ = Good, ⚠️ = Sub-optimal, ⛔ = Bad, 💀 = Horrible

## How to use

Add the dependency:

`libraryDependencies += "com.ryanstull" %% "scalanullsafe" % "1.2.6"`
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ryanstull/scalanullsafe_2.13/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ryanstull/scalanullsafe_2.13)

Example use:
```sbt
libraryDependencies += "com.ryanstull" %% "scalanullsafe" % "1.2.6"
```
<sub>* Since macros are only used at compile time, if your build tool has a way to specify compile-time-only dependencies, you can use that for this library</sub>

### Example use:

```scala
import com.ryanstull.nullsafe._
Expand Down

0 comments on commit d9033f8

Please sign in to comment.