We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like it is a duplicate for one functionality: https://github.com/elasticio/maester-client/blob/master/src/object.ts#L170
if (params?.objectFields) { Object.entries(params.objectFields).forEach(e => { if (e[1].Query) headers[`X-Query-${e[0]}`] = e[1].Query; if (e[1].Meta) headers[`X-Meta-${e[0]}`] = e[1].Meta; }) }
and https://github.com/elasticio/maester-client/blob/master/src/object.ts#L24
export function metaToHeaders(meta: ObjectMetadata): Record<string, string> { const headers: Record<string, string> = {}; for (const [key, value] of Object.entries(meta)) { headers[`${USER_META_HEADER_PREFIX}${key}`] = String(value); } return headers; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like it is a duplicate for one functionality:
https://github.com/elasticio/maester-client/blob/master/src/object.ts#L170
and
https://github.com/elasticio/maester-client/blob/master/src/object.ts#L24
The text was updated successfully, but these errors were encountered: