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

orcidEmail not included #1117

Open
cquiroz opened this issue Apr 8, 2024 · 0 comments
Open

orcidEmail not included #1117

cquiroz opened this issue Apr 8, 2024 · 0 comments

Comments

@cquiroz
Copy link
Contributor

cquiroz commented Apr 8, 2024

A query reequesting the field orcidEmail returns null values

        query($programId: ProgramId!) {
          program(programId: $programId) 
    {
      type
      proposal 
    {
      title
      proposalClass {
        __typename
        minPercentTime
        ... on LargeProgram {
          minPercentTotalTime
          totalTime {
            microseconds
          }
        }
        ... on Intensive {
          minPercentTotalTime
          totalTime {
            microseconds
          }
        }
      }
      category
      toOActivation
      abstract
      partnerSplits {
        partner
        percent
      }
    }
  
      proposalStatus
      pi 
    {
      id
      type
      orcidId
      orcidGivenName
      orcidCreditName
      orcidFamilyName
      orcidEmail
    }
  
      users 
    {
      user 
    {
      id
      type
      orcidId
      orcidGivenName
      orcidCreditName
      orcidFamilyName
      orcidEmail
    }
  
      role
    } 
  
      timeEstimateRange 
    {
      minimum 
    {
      program {
        microseconds
      }
    }
  
      maximum 
    {
      program {
        microseconds
      }
    }
  
    }
  
      timeCharge 
    {
      program {
        microseconds
      }
    }
  
      userInvitations 
    {
      id
      recipientEmail
      status
    }
  
    }
  
        }
      

returns a null orcidEmaill result

{
    "data": {
        "program": {
            "type": "SCIENCE",
...
            "pi": {
                "id": "u-112",
                "type": "STANDARD",
                "orcidId": "0000-0001-5558-6297",
                "orcidGivenName": "Carlos",
                "orcidCreditName": null,
                "orcidFamilyName": "Quiroz",
                "orcidEmail": null
            },
            "users": [
                {
                    "user": {
                        "id": "u-800",
                        "type": "STANDARD",
                        "orcidId": "0009-0003-2846-2063",
                        "orcidGivenName": "Perico",
                        "orcidCreditName": null,
                        "orcidFamilyName": "Palotes",
                        "orcidEmail": null
                    },
                    "role": "COI"
                }
            ],
 ...
}
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