You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 3rd expectation fails - fromValue returns DataType.Guid, which is probably not the correct behavior.
The problem seems to be in core.ts where the isGuid function uses a regular expression without a start or end anchor:
function isGuid(value: any) {
return (typeof value === "string") && /[a-fA-F\d]{8}-(?:[a-fA-F\d]{4}-){3}[a-fA-F\d]{12}/.test(value);
}
I tried to create a pull request to fix this but ran into a few issues:
There's no package-lock.json in the root of the repo so I'm unsure if npm installed compatible package versions.
The build command failed on the downlevel-dts step, possibly due to some incompatible package version.
When running the unit tests, many tests fail trying to make http requests to services like http://localhost:34377/breeze/NorthwindIBModel/Metadata. Is there a script for spinning up the services required for tests, or documentation on how to set them up?
The text was updated successfully, but these errors were encountered:
Sorry about the missing package-lock.json. The versions in package.json should have been sufficient to create a reliable build, but apparently that's not the case.
The unit tests require spinning up a server separately, using the code in the breeze.server.net repo.
The following unit tests fails on version 2.1.5:
The 3rd expectation fails - fromValue returns DataType.Guid, which is probably not the correct behavior.
The problem seems to be in core.ts where the isGuid function uses a regular expression without a start or end anchor:
I tried to create a pull request to fix this but ran into a few issues:
The text was updated successfully, but these errors were encountered: