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

dynamic type operator #19

Open
jediwhale opened this issue Oct 16, 2009 · 1 comment
Open

dynamic type operator #19

jediwhale opened this issue Oct 16, 2009 · 1 comment

Comments

@jediwhale
Copy link
Owner

match on typeof(object). use result.gettype to pick real operator

@jediwhale
Copy link
Owner Author

This might already be handled by fitsharp

We had a problem with our own DoFixtures, where we use a read function to retrieve object properties, returning type object. The type of the returned object instance depends on the actual property requested, for example string. The problem is that the FlowFixtureBase. Check() method uses the return type of the accessor (in this case "object") to pass to the possible cell handlers to find a match; the RegEx and NumericCompare both did not match because they require string and numeric types.

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

No branches or pull requests

1 participant