Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for Type matcher #64

Merged
merged 3 commits into from
Jun 24, 2023
Merged

add support for Type matcher #64

merged 3 commits into from
Jun 24, 2023

Conversation

gkampitakis
Copy link
Owner

@gkampitakis gkampitakis commented Jun 1, 2023

This idea was taken from #58 (comment).

Code example:

snaps.MatchJSON(t, `{"data":{"moredata":10}}`, match.Type[string]("data.moredata"))
  • Add unit testing
  • Update Docs
  • More manual testing

@gkampitakis gkampitakis added v0.5.0 and removed v0.5.0 labels Jun 17, 2023
@gkampitakis gkampitakis force-pushed the type_matcher branch 3 times, most recently from 4a863c2 to 7930298 Compare June 18, 2023 17:20
@gkampitakis gkampitakis marked this pull request as ready for review June 24, 2023 11:58
@gkampitakis gkampitakis changed the title exploring support for type matcher add support for Type matcher Jun 24, 2023
@gkampitakis gkampitakis merged commit a3fd6aa into main Jun 24, 2023
4 checks passed
@gkampitakis gkampitakis deleted the type_matcher branch June 24, 2023 13:24
mergify bot pushed a commit to dbsystel/cdk-sops-secrets that referenced this pull request Jun 24, 2023
)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/gkampitakis/go-snaps](https://togithub.com/gkampitakis/go-snaps) | require | patch | `v0.4.6` -> `v0.4.7` |

---

### Release Notes

<details>
<summary>gkampitakis/go-snaps</summary>

### [`v0.4.7`](https://togithub.com/gkampitakis/go-snaps/releases/tag/v0.4.7)

[Compare Source](https://togithub.com/gkampitakis/go-snaps/compare/v0.4.6...v0.4.7)

#### What's Changed

-   fix: improve some edge diffing cases in [gkampitakis/go-snaps#66
-   chore: use 1.20 go version in [gkampitakis/go-snaps#68
-   add support for Type matcher in [gkampitakis/go-snaps#64

**Full Changelog**: gkampitakis/go-snaps@v0.4.6...v0.4.7

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/markussiebert/cdk-sops-secrets).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant