On Sitecore 10.1.1, I've got Sitecore Headless Services Server XP 18.0.0 rev. 00473
installed. According to documentation, that's the correct version. The package brings Sitecore.LayoutService.dll
with version 7.1.0:
Now I'd like to extend the LayoutService API. I referenced the latest available Sitecore.LayoutService NuGet pachage which has version 10.1.0. But now, when I try to reach the data via API, I receive error:
2396 11:41:16 ERROR Exception during Layout Service RenderItem (configuration: jss, item: {A843B9EF-04E4-4631-A2F0-EE4C6F2277E7})
cm_1 | Exception: System.InvalidOperationException
cm_1 | Message: Could not find type 'Sitecore.LayoutService.Serialization.Pipelines.GetFieldSerializer.GetIntegerFieldSerializer, Sitecore.LayoutService'
I checked the assembly delivered via NuGet and the type is indeed missing there. The LayoutService assembly version is 7.0.0, not 7.1.0:
Am I missing smth? How do I reference the proper 7.1 version via NuGet?