question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with pattern matcher

See original GitHub issue

I have added in pattern matching to my interaction.

When i run pact verification it works fine.

But i see a warn in the console for pact broker

WARN: Ignoring unsupported matching rules {"min"=>1} for path $['body']['Advertisers']

I use eachLike on an array

	Advertisers: eachLike({
		Name: 'Account'
	})

Deps:

    "@pact-foundation/pact": "5.9.1",
        "@pact-foundation/pact-node": "^6.19.4",

pact broker : dius/pact-broker:latest

Thanks, Shane.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mboudreaucommented, Jul 12, 2018

Next release will be out in the next few hours 😃

On Thu., 12 Jul. 2018, 4:50 pm Beth Skurrie, notifications@github.com wrote:

I am actually just fixing that at the moment. Ignore the warning, the min is being used. The warning will be gone in the next release.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pact-foundation/pact-node/issues/99#issuecomment-404408059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjA5OQ1EsBbyklqKw9sWGeAlRiE-1qNks5uFvGhgaJpZM4VMR1x .

0reactions
shavo007commented, Jul 13, 2018

🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Correct way to intentionally error in pattern matching - Question
Regarding the initial question on the proper way of intentionally fail in a pattern-matching, I think using sys.
Read more >
Java regular expression: finding match errors - Stack Overflow
My regular expression is fine. It works as it should! The issue is that I want to know more informations in case of...
Read more >
Methods of the PatternSyntaxException Class
A PatternSyntaxException is an unchecked exception that indicates a syntax error in a regular expression pattern. The PatternSyntaxException class provides ...
Read more >
Error Pattern Matching in Swift - Yet Another Swift Blog
Simple yet powerful technique to switch over Swift errors types.
Read more >
Detecting Pattern-Match Failures in Haskell - Neil Mitchell
The problem of pattern-matching. ○ A framework to solve patterns ... [] → error “pattern match” s:ss→ case x ≤ y of. True...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found