Skip to content
#

comparator

Here are 92 public repositories matching this topic...

goravbhootra
goravbhootra commented Jun 23, 2018

Hi,

I have setup a filter as:

number :status, allow_decimal: false, allowed_values: 1..5

if no status is selected in filters, blank value is passed in params. I am filtering the blank values before sending the filter params to Filtrex.parse_params else it responds with an error. This pattern is so common, I was wondering if it would be good idea to include this as an option in t

nohwnd
nohwnd commented Nov 22, 2018

Consider adding option to Assert-Equivalent that will list the properties to inspect.
Also consider adding -ExcludeProperties, OnlyExpectedProperties or other similar options.

  • Exclude full paths
  • Exclude wildcarded paths
  • Come up with a good name for -OnlyComparePathsOnExpected (-SkipNonMatchingPropertiesActualPaths)?
  • Select full paths to inlcude
  • Select
quasilyte
quasilyte commented Dec 24, 2017

Things that need good naming:

  • string that describes Go AST to be matched (S-expression syntax)
    -- currently: "sexp template"
  • the language that is used to describe sexp template
    -- currently: ?
  • compiled template; result of astexp.Compile
    -- currently: "pattern"
  • special syntax for named/unnamed matchers
    -- currently: "wildcard"

Improve this page

Add a description, image, and links to the comparator topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the comparator topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.