Skip to content

Commit

Permalink
Merge pull request #4 from surgeventures/chore/make-type-optional
Browse files Browse the repository at this point in the history
[CHORE] Make type optional
  • Loading branch information
nmingazov authored May 15, 2024
2 parents 3135b2d + fa5e66d commit fced042
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ snap-*.tar

# Contains Dialyzer PLTs
/priv

# Intellij idea
.idea/*
*.iml
2 changes: 1 addition & 1 deletion lib/snap/responses/hit.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Snap.Hit do

@type t :: %__MODULE__{
index: String.t(),
type: String.t(),
type: String.t() | nil,
id: String.t(),
score: float() | nil,
source: map() | nil,
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Snap.MixProject do

@original_github_url "https://github.com/breakroom/snap"
@github_url "https://github.com/surgeventures/snap"
@version "0.10.3"
@version "0.10.5"

def project do
[
Expand Down

0 comments on commit fced042

Please sign in to comment.