Manuel Schiller
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
thanks for discussing this with me, it definitely helped to clear my naivety here 😉
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
so maybe the signal really is just "if the input validator fails, it might be cause of version skew"
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
right
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
if the required shape of
Person
changed, it would not be compatible anymore45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
see this https://tanstack.com/start/latest/docs/framework/react/server-functions#using-a-validation-library
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
as long as the client input would be accepted
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
yeah I would not care about transforms
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
if the input type changed, a newly deployed version of the backend is not compatible with the old client
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
so the goal is to provide skew protection for server functions.
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
input and output
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
but more of the types
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
ok so I might not be looking for a hash of the validator
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
custom functions could be stringifed though ?
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
so we could detect changes but not detect whether it is stable
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
cool
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
what does the hash look like?
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
nice
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
oh
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
for example yes
45 replies
Aarktype
•Created by Manuel Schiller on 3/11/2025 in #questions
how to get a "hash" of the validator?
or stringifying a TS type?
45 replies