Replies: 1 comment
-
Moved this to the Vonk.Facade repository discussion / issues. Closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to update to .Net 8.0 and Vonk.Facade.Relation 4.7.1 and other Vonk 4.7.1 packages. I've implemented the QueryFactory patern and inherited code like the example below.
My problem is that the parameter detection does not seem to be working and the only override function that is being called is the one:
`
public class ObservationQueryFactory : RelationalQueryFactory<myObservation, myRelationalQuery>, IResourceSpecificQueryFactory
{
public override myRelationalQuery AddValueFilter(string parameterName, TokenValue value)
{
// This code is not being called....
if(String.Compare(parameterName, VonkConstants.ParameterNames.Id, StringComparison.OrdinalIgnoreCase) == 0
|| String.Compare(parameterName, "identifier", StringComparison.OrdinalIgnoreCase) == 0)
{
return PredicateQuery(observation => observation.Id == value.Code);
}
....
}
// This code is called instead :-( ....
throw new NotImplementedException();
}
}
`
An error is being swallowed that complains that:
System.Security.Cryptography.XmlSerializers, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL cannot be found.
I'm not sure if that is the cause of the problem. I'm assuming the webhost is trying to read the specification.zip file that is present in the output directory and process monitor shows it being read, but not many parameters are found when reading the xsd files present in the zip.
Any help or pointers would be greatly appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions