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

User.modifiedTime should be optional in Core TS definitions #10221

Closed
ComLock opened this issue Jul 25, 2023 · 2 comments · Fixed by #10376
Closed

User.modifiedTime should be optional in Core TS definitions #10221

ComLock opened this issue Jul 25, 2023 · 2 comments · Fixed by #10376
Assignees
Labels
Milestone

Comments

@ComLock
Copy link
Collaborator

ComLock commented Jul 25, 2023

https://github.com/enonic/xp/blob/c4b556fb79772d40e140e7a7eee9e117122f02be/modules/lib/core/index.d.ts#L32C26-L32C26

@ComLock ComLock added the Types Typings label Jul 25, 2023
@rymsha rymsha added the Bug label Jul 27, 2023
@rymsha
Copy link
Contributor

rymsha commented Jul 27, 2023

It is optional on update, but not optional on read, I think

@rymsha rymsha added this to the 7.14.0 milestone Jan 4, 2024
@rymsha rymsha assigned edloidas and unassigned ComLock Jan 4, 2024
@edloidas
Copy link
Member

edloidas commented Jan 4, 2024

Appears that we have some predefined users like ANONYMOUS who don't have a modifiedTime field.

@edloidas edloidas linked a pull request Jan 4, 2024 that will close this issue
rymsha pushed a commit that referenced this issue Jan 8, 2024
@alansemenov alansemenov changed the title User.modifiedTime should be optional User.modifiedTime should be optional in Core TS definitions Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants