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

WorflowCore.DSL cannot load yaml/json definitions due to JsonObjectAttribute type #1340

Open
jltnf54 opened this issue Mar 10, 2025 · 0 comments

Comments

@jltnf54
Copy link

jltnf54 commented Mar 10, 2025

Describe the bug
A clear and concise description of what the bug is.

getting the following when using workflowcore.dsl

System.TypeLoadException: Could not load type 'Microsoft.IdentityModel.Json.JsonObjectAttribute' from assembly 'Microsoft.IdentityModel.Tokens, Version=7.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) at System.ModuleHandle.ResolveTypeHandle(Int32

To Reproduce

create yaml example add inputs:

Id: Worflow1
Version: 1
Steps:

  • Id: GetValues
    StepType: My.GetCases, My.Service
    NextStepId: MakeCall
    Inputs:
    Prompt: "Get values limit result to 100"

Expected behavior
expected to populate StepBody with property

Additional context

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